iter_walker_states¶
- jaxrens.io.formats.iter_walker_states(record)[source]¶
Yield one
WalkerStateper walker from a batched population record.The batched record is the plural-keyed dict produced by
population_record(). This is the single reader that turns it back into the typed per-walker form the writers consume, so the writers no longer rebuild ad-hoc{"positions": …, "box": …}dicts per walker. Arrays are coerced to JAX arrays to satisfyWalkerState’s field types.- Parameters:
- Return type: