load#
- cogsworth.sfh.load(file_name, key='sfh')[source]#
Load an entire class from storage.
Data should be stored in an hdf5 file using file_name.
- Parameters:
- file_namestr
A name of the .h5 file in which samples are stored and .txt file in which parameters are stored
- keystr, optional
Key to use for the hdf5 file, by default “sfh”