state_translation Module
Human-readable translation helpers for population states.
Overview
The state_translation module converts PopulationState and
DiscretePopulationState into nested dictionaries or JSON payloads, with
readable labels and optional zero-value filtering. For age-structured states,
translation includes sperm-storage tensors as well.
Observation Output Helpers
Use output_current_state and output_history for observation-centric output.
Both helpers support:
- Building observation rules from
groupsdirectly. - Reusing a prebuilt observation object via
observation=.... - Optional JSON file output through
output_path.
You can build reusable observations from the population API:
observation = pop.create_observation(
groups={"adult_wt": {"genotype": ["WT|WT"], "age": [1]}},
collapse_age=False,
)
current_payload = nt.output_current_state(
population=pop,
observation=observation,
output_path="outputs/current.json",
)
history_payload = nt.output_history(
population=pop,
observation=observation,
output_path="outputs/history.json",
)
History Translation Helpers
Use population_history_to_readable_dict and
population_history_to_readable_json to convert flattened history snapshots
into readable per-tick state payloads.
When to use
- Inspect historical trajectories without manually reshaping flattened arrays.
- Export time-series snapshots for logging, debugging, or external tools.
API behavior summary
- Input
historycan be omitted; when omitted, the function attempts to callpopulation.get_history(). - Each row in flattened history is parsed back into either
PopulationStateorDiscretePopulationStateaccording to the currentpopulation.statetype. - Genotype labels are resolved from
population.index_registrywhen available. - Output includes top-level metadata:
state_typenamen_snapshotssnapshots(list of translated state dictionaries)
Example
import natal as nt
hist_payload = nt.population_history_to_readable_dict(
population=pop,
include_zero_counts=False,
)
print(hist_payload["n_snapshots"])
print(hist_payload["snapshots"][0]["tick"])
hist_json = nt.population_history_to_readable_json(
population=pop,
include_zero_counts=False,
indent=2,
)
print(hist_json[:200])
Complete Module Reference
natal.state_translation
Human-readable translation helpers for population state objects.
This module converts PopulationState and DiscretePopulationState into
structured dictionaries (and JSON strings) that are easier to inspect, log,
or serialize for downstream tooling.
population_state_to_dict
population_state_to_dict(state: PopulationState, genotype_labels: Optional[Sequence[str]] = None, sex_labels: Optional[Sequence[str]] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate an age-structured PopulationState to a readable dictionary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
PopulationState
|
State object to translate. |
required |
genotype_labels
|
Optional[Sequence[str]]
|
Optional labels for genotype axis. If omitted, labels are
generated as |
None
|
sex_labels
|
Optional[Sequence[str]]
|
Optional labels for sex axis. If omitted, defaults to
|
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries in output blocks. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A nested dictionary containing tick, dimensions, individual counts, and |
Dict[str, Any]
|
sperm storage. |
Source code in src/natal/state_translation.py
population_state_to_json
population_state_to_json(state: PopulationState, genotype_labels: Optional[Sequence[str]] = None, sex_labels: Optional[Sequence[str]] = None, include_zero_counts: bool = False, indent: int = 2) -> str
Serialize a PopulationState to a JSON string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
PopulationState
|
State object to translate. |
required |
genotype_labels
|
Optional[Sequence[str]]
|
Optional labels for genotype axis. Auto-generated
when |
None
|
sex_labels
|
Optional[Sequence[str]]
|
Optional labels for sex axis. Defaults to |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
Indented JSON string of the state dictionary. |
Source code in src/natal/state_translation.py
discrete_population_state_to_dict
discrete_population_state_to_dict(state: DiscretePopulationState, genotype_labels: Optional[Sequence[str]] = None, sex_labels: Optional[Sequence[str]] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate a DiscretePopulationState to a readable dictionary.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
DiscretePopulationState
|
State object to translate. |
required |
genotype_labels
|
Optional[Sequence[str]]
|
Optional labels for genotype axis. If omitted, labels are
generated as |
None
|
sex_labels
|
Optional[Sequence[str]]
|
Optional labels for sex axis. If omitted, defaults to
|
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries in output blocks. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A nested dictionary containing tick, dimensions, and individual counts. |
Source code in src/natal/state_translation.py
discrete_population_state_to_json
discrete_population_state_to_json(state: DiscretePopulationState, genotype_labels: Optional[Sequence[str]] = None, sex_labels: Optional[Sequence[str]] = None, include_zero_counts: bool = False, indent: int = 2) -> str
Serialize a DiscretePopulationState to a JSON string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
DiscretePopulationState
|
Discrete state object to translate. |
required |
genotype_labels
|
Optional[Sequence[str]]
|
Optional labels for genotype axis. Auto-generated
when |
None
|
sex_labels
|
Optional[Sequence[str]]
|
Optional labels for sex axis. Defaults to |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
Indented JSON string of the discrete state dictionary. |
Source code in src/natal/state_translation.py
population_to_readable_dict
population_to_readable_dict(population: BasePopulation[Any], include_zero_counts: bool = False) -> Dict[str, Any]
Translate a population's current state to a readable dictionary.
This helper automatically pulls genotype labels from
population.index_registry so output keys use genotype strings.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance containing either an age-structured or discrete state object. |
required |
include_zero_counts
|
bool
|
Whether to keep zero-valued entries in output blocks. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A nested dictionary describing the current state. |
Raises:
| Type | Description |
|---|---|
TypeError
|
If the population state type is unsupported. |
Source code in src/natal/state_translation.py
population_to_readable_json
population_to_readable_json(population: BasePopulation[Any], include_zero_counts: bool = False, indent: int = 2) -> str
Serialize a population's current state to a JSON string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance containing an age-structured or discrete state object. |
required |
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
Indented JSON string of the readable state dictionary. |
Source code in src/natal/state_translation.py
population_history_to_readable_dict
population_history_to_readable_dict(population: BasePopulation[Any], history: Optional[ndarray] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate flattened history records into readable snapshot dictionaries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance that defines history shape and labels. |
required |
history
|
Optional[ndarray]
|
Optional flattened history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries in each snapshot payload. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A dictionary containing metadata and translated snapshot entries. |
Raises:
| Type | Description |
|---|---|
TypeError
|
If the population state type is unsupported. |
ValueError
|
If |
Source code in src/natal/state_translation.py
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 | |
population_history_to_readable_json
population_history_to_readable_json(population: BasePopulation[Any], history: Optional[ndarray] = None, include_zero_counts: bool = False, indent: int = 2) -> str
Translate flattened history records to a readable JSON string.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance that defines history shape and labels. |
required |
history
|
Optional[ndarray]
|
Optional flattened history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
Indentation level used by |
2
|
Returns:
| Type | Description |
|---|---|
str
|
JSON string containing history metadata and translated snapshots. |
Source code in src/natal/state_translation.py
population_observation_history_to_readable_dict
population_observation_history_to_readable_dict(population: BasePopulation[Any], *, history: Optional[ndarray] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate pre-recorded observation history into readable snapshot dicts.
This is used when the population was run with record_observation set
and the kernel recorded compressed observation snapshots. Each row is
[tick, observed.ravel()] where observed has shape
(n_groups, n_sexes, n_ages), so no per-genotype data is stored.
Falls back to population_history_to_readable_dict (raw state decoding)
if population.record_observation is None.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance with |
required |
history
|
Optional[ndarray]
|
Optional flattened history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A dictionary with observation metadata and per-snapshot entries. |
Source code in src/natal/state_translation.py
population_observation_history_to_readable_json
population_observation_history_to_readable_json(population: BasePopulation[Any], *, history: Optional[ndarray] = None, include_zero_counts: bool = False, indent: int = 2) -> str
JSON version of :func:population_observation_history_to_readable_dict.
Source code in src/natal/state_translation.py
output_current_state
output_current_state(population: BasePopulation[Any], *, observation: Optional[Observation] = None, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False, output_path: Optional[Union[str, Path]] = None, indent: int = 2) -> Dict[str, Any]
Export the current population state with observation rules applied.
This function integrates natal.observation with state translation and
can optionally write the JSON payload to output_path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance to observe. |
required |
observation
|
Optional[Observation]
|
Optional prebuilt observation object. When provided,
|
None
|
groups
|
Optional[GroupsInput]
|
Observation groups passed to |
None
|
collapse_age
|
bool
|
Whether observation rule generation collapses age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
output_path
|
Optional[Union[str, Path]]
|
Optional JSON file path. When provided, the payload is written to this file as UTF-8 JSON. |
None
|
indent
|
int
|
Indentation used when writing JSON. |
2
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A dictionary with observation metadata and observed counts. |
Source code in src/natal/state_translation.py
output_history
output_history(population: BasePopulation[Any], *, observation: Optional[Observation] = None, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False, history: Optional[ndarray] = None, output_path: Optional[Union[str, Path]] = None, indent: int = 2) -> Dict[str, Any]
Export the observation history for a population.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Population instance to observe. |
required |
observation
|
Optional[Observation]
|
Optional prebuilt observation object. When provided,
|
None
|
groups
|
Optional[GroupsInput]
|
Observation groups passed to |
None
|
collapse_age
|
bool
|
Whether observation rule generation collapses age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
history
|
Optional[ndarray]
|
Optional flattened history array. When omitted, the population
history is fetched from |
None
|
output_path
|
Optional[Union[str, Path]]
|
Optional JSON file path. When provided, the payload is written to this file as UTF-8 JSON. |
None
|
indent
|
int
|
Indentation used when writing JSON. |
2
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A dictionary containing observation metadata and per-snapshot outputs. |
Source code in src/natal/state_translation.py
population_to_observation_dict
population_to_observation_dict(population: BasePopulation[Any], *, observation: Optional[Observation] = None, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False) -> Dict[str, Any]
Post-hoc observation on a panmictic population's current state.
Delegates to :func:output_current_state with the same arguments.
Provided as a convenience wrapper for observation-specific workflows.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Panmictic population instance. |
required |
observation
|
Optional[Observation]
|
Pre-built observation filter. When |
None
|
groups
|
Optional[GroupsInput]
|
Observation group specs used when observation is |
None
|
collapse_age
|
bool
|
Whether the observation collapses the age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dictionary with observed state payload grouped by observation labels. |
Source code in src/natal/state_translation.py
population_to_observation_json
population_to_observation_json(population: BasePopulation[Any], *, observation: Optional[Observation] = None, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False, indent: int = 2) -> str
Post-hoc observation on a panmictic population, serialized to JSON.
Delegates to :func:output_current_state and serializes the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
population
|
BasePopulation[Any]
|
Panmictic population instance. |
required |
observation
|
Optional[Observation]
|
Pre-built observation filter. When |
None
|
groups
|
Optional[GroupsInput]
|
Observation group specs used when observation is |
None
|
collapse_age
|
bool
|
Whether the observation collapses the age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
JSON string of the observed state payload. |
Source code in src/natal/state_translation.py
spatial_population_to_readable_dict
spatial_population_to_readable_dict(spatial_population: SpatialPopulation, include_zero_counts: bool = False) -> Dict[str, Any]
Translate a SpatialPopulation into readable per-deme dictionaries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dictionary containing per-deme readable payloads and one aggregate state. |
Source code in src/natal/state_translation.py
spatial_population_to_readable_json
spatial_population_to_readable_json(spatial_population: SpatialPopulation, include_zero_counts: bool = False, indent: int = 2) -> str
Translate a SpatialPopulation into a readable JSON string.
Source code in src/natal/state_translation.py
spatial_population_to_observation_dict
spatial_population_to_observation_dict(spatial_population: SpatialPopulation, *, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False) -> Dict[str, Any]
Post-hoc observation on the current spatial state (all demes + aggregate).
Builds an Observation from the first deme's registry, applies it to
each deme individually, then aggregates by summing across demes.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
groups
|
Optional[GroupsInput]
|
Observation groups passed to underlying observation filter. |
None
|
collapse_age
|
bool
|
Whether observation collapses age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dictionary with per-deme and aggregate observation payloads. |
Source code in src/natal/state_translation.py
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 | |
spatial_population_to_observation_json
spatial_population_to_observation_json(spatial_population: SpatialPopulation, *, groups: Optional[GroupsInput] = None, collapse_age: bool = False, include_zero_counts: bool = False, indent: int = 2) -> str
Post-hoc observation on a spatial population, serialized to JSON.
Delegates to :func:spatial_population_to_observation_dict and serializes
the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
groups
|
Optional[GroupsInput]
|
Observation group specs passed to each deme's observation. |
None
|
collapse_age
|
bool
|
Whether observation collapses age axis. |
False
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
JSON string with per-deme and aggregate observation payloads. |
Source code in src/natal/state_translation.py
spatial_population_history_to_readable_dict
spatial_population_history_to_readable_dict(spatial_population: SpatialPopulation, history: Optional[ndarray] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate recorded spatial history into per-deme readable snapshots.
Each history snapshot contains one entry per deme with the same format
as population_to_readable_dict.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
history
|
Optional[ndarray]
|
Optional stacked history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dictionary containing per-tick, per-deme readable payloads. |
Source code in src/natal/state_translation.py
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 | |
spatial_population_observation_history_to_readable_dict
spatial_population_observation_history_to_readable_dict(spatial_population: SpatialPopulation, *, history: Optional[ndarray] = None, include_zero_counts: bool = False) -> Dict[str, Any]
Translate pre-recorded spatial observation history into readable dict.
Each snapshot row is [tick, observed.ravel()] where observed has
shape (n_demes, n_groups, n_sexes, n_ages). For each tick the
function expands per-deme observation payloads and a cross-deme aggregate
(sum over all demes).
Falls back to spatial_population_history_to_readable_dict (raw state
decoding) if spatial_population.record_observation is None.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population with |
required |
history
|
Optional[ndarray]
|
Optional history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
A dictionary with observation metadata and per-tick, per-deme entries. |
Source code in src/natal/state_translation.py
1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 | |
spatial_population_observation_history_to_readable_json
spatial_population_observation_history_to_readable_json(spatial_population: SpatialPopulation, *, history: Optional[ndarray] = None, include_zero_counts: bool = False, indent: int = 2) -> str
Observation-based spatial history translated to readable JSON.
Delegates to :func:spatial_population_observation_history_to_readable_dict
and serializes the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
history
|
Optional[ndarray]
|
Optional stacked history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
JSON string of the observation-based history payload. |
Source code in src/natal/state_translation.py
spatial_population_history_to_readable_json
spatial_population_history_to_readable_json(spatial_population: SpatialPopulation, history: Optional[ndarray] = None, include_zero_counts: bool = False, indent: int = 2) -> str
Spatial raw-count history translated to readable JSON.
Delegates to :func:spatial_population_history_to_readable_dict and
serializes the result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
history
|
Optional[ndarray]
|
Optional stacked history array. When |
None
|
include_zero_counts
|
bool
|
Whether to keep zero-valued entries. |
False
|
indent
|
int
|
JSON indentation level. |
2
|
Returns:
| Type | Description |
|---|---|
str
|
JSON string of the raw-count history payload. |
Source code in src/natal/state_translation.py
spatial_population_output_history
spatial_population_output_history(spatial_population: SpatialPopulation, *, history: Optional[ndarray] = None, output_path: Optional[Union[str, Path]] = None, indent: int = 2) -> Dict[str, Any]
Export spatial history as a readable dictionary.
When spatial_population.record_observation is set, the observation
history path is used automatically.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_population
|
SpatialPopulation
|
Spatial population container. |
required |
history
|
Optional[ndarray]
|
Optional stacked history array. When |
None
|
output_path
|
Optional[Union[str, Path]]
|
Optional JSON file path. When provided, the payload is written to this file as UTF-8 JSON. |
None
|
indent
|
int
|
Indentation used when writing JSON. |
2
|
Returns:
| Type | Description |
|---|---|
Dict[str, Any]
|
Dictionary containing per-tick, per-deme readable payloads. |