jangada.serialization.Persistable.save_serialized_data#
- Persistable.save_serialized_data(path: Path | str, data: Any) None#
Save serialized data dictionary to HDF5 file.
This is a low-level method that writes a data dictionary (from Serializable.serialize) to an HDF5 file.
- Parameters:
- pathPath | str
File path to save to.
- dataAny
Serialized data (typically from Serializable.serialize).
See also
saveHigh-level save method
load_serialized_dataLoad counterpart
Notes
This method is called internally by save(). Users typically use save() instead of calling this directly.
Creates an HDF5 file with a ‘root’ group containing all the data.