population_record

jaxrens.io.formats.population_record(positions, types, energies, cells, **extra)[source]

Build the canonical batched-population serialization dict.

Single source of truth for the plural on-disk key names (energies, cells) shared by the checkpoint writer and the snapshot writers. Extra bookkeeping fields (step_sizes, log_evidence, iteration …) are merged verbatim. Consumed by iter_walker_states() and io.checkpoint.save_checkpoint.

Parameters:
Return type:

dict[str, Any]