Results#
A model’s results are in its DataBase, from
Model.get_db(). The functions below collect
several results at once and save them to files.
The results of a model run. |
Saving results#
Collect several results from a database into one dictionary. |
|
Write each result to its own CSV file. |
|
Write all the results to one JSON file. |
|
Write each result to its own JSON file. |
|
Write the results to an HDF5 file, one group per result. |
|
Write the results to a Zarr store, one group per result. |
JSON helpers#
JSON encoder that stores NumPy scalars and arrays with their types. |
Restore the NumPy values written by |