write_db_results_hdf5

write_db_results_hdf5#

epiworldpy.write_db_results_hdf5(results, filename=PosixPath('results.h5'), **hdf5_kwargs)[source]#

Write the results to an HDF5 file, one group per result.

Requires the h5py package.

Parameters:
  • results (dict) – Results from extract_database_results().

  • filename (str or pathlib.Path, default "results.h5") – Path of the file.

  • **hdf5_kwargs – Unused; kept for compatibility.

Return type:

None