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 byiter_walker_states()andio.checkpoint.save_checkpoint.