load_initC

cosmic.output.load_initC(filename, key='initC', settings_key='initC_settings')[source]

Load an initC table from an HDF5 file.

If settings were saved separately, they are merged back into the main table.

Parameters:
filenamestr

Filename/path to the HDF5 file

keystr, optional

Dataset key to use for main table, by default “initC”

settings_keystr, optional

Dataset key to use for settings table, by default “initC_settings”

Returns:
initCpandas.DataFrame

Initial conditions table