synthesizer.load_data.load_camels¶
Functions
- synthesizer.load_data.load_camels.load_CAMELS_Astrid(_dir='.', snap_name='snap_090.hdf5', group_name='fof_subhalo_tab_090.hdf5', group_dir=None, dtm=0.3, physical=True, age_lookup=True, age_lookup_delta_a=0.0001, **kwargs)[source]¶
Load CAMELS-Astrid galaxies
- Parameters:
dir (string) – data location
snap_name (string) – snapshot filename
group_name (string) – subfind / FOF filename
group_dir (string) – optional argument specifying lcoation of fof file if different to snapshot
dtm (float) – dust to metals ratio for all gas particles
physical (bool) – Should properties be converted to physical?
age_lookup (bool) – Create a lookup table for ages
age_lookup_delta_a (float) – Scale factor resolution of the age lookup
- Returns:
ParticleGalaxy object containing star and gas particle
- Return type:
galaxies (object)
- synthesizer.load_data.load_camels.load_CAMELS_IllustrisTNG(_dir='.', snap_name='snap_033.hdf5', group_name='fof_subhalo_tab_033.hdf5', group_dir=None, verbose=False, dtm=0.3, physical=True, age_lookup=True, age_lookup_delta_a=0.0001, **kwargs)[source]¶
Load CAMELS-IllustrisTNG galaxies
- Parameters:
dir (string) – data location
snap_name (string) – snapshot filename
group_name (string) – subfind / FOF filename
group_dir (string) – optional argument specifying lcoation of fof file if different to snapshot
verbose (bool) – verbosity flag
dtm (float) – dust-to-metals ratio to apply to all gas particles
physical (bool) – Should the coordinates be converted to physical?
age_lookup (bool) – Create a lookup table for ages
age_lookup_delta_a (float) – Scale factor resolution of the age lookup
- Returns:
ParticleGalaxy object containing star and gas particle
- Return type:
galaxies (object)
Examples using synthesizer.load_data.load_camels.load_CAMELS_IllustrisTNG
¶
Camels luminosity function example
Parametric Young Stars Example
- synthesizer.load_data.load_camels.load_CAMELS_Simba(_dir='.', snap_name='snap_033.hdf5', group_name='fof_subhalo_tab_033.hdf5', group_dir=None, dtm=0.3, physical=True, age_lookup=True, age_lookup_delta_a=0.0001, **kwargs)[source]¶
Load CAMELS-SIMBA galaxies
- Parameters:
dir (string) – data location
snap_name (string) – snapshot filename
group_name (string) – subfind / FOF filename
group_dir (string) – optional argument specifying lcoation of fof file if different to snapshot
dtm (float) – dust to metals ratio for all gas particles
physical (bool) – Should properties be converted to physical?
age_lookup (bool) – Create a lookup table for ages
age_lookup_delta_a (float) – Scale factor resolution of the age lookup
- Returns:
ParticleGalaxy object containing star and gas particle
- Return type:
galaxies (object)
- synthesizer.load_data.load_camels.load_CAMELS_SwiftEAGLE_subfind(_dir='.', snap_name='snapshot_033.hdf5', group_name='groups_033.hdf5', group_dir=None, dtm=0.3, physical=True, min_star_part=10, num_threads=-1, age_lookup=True, age_lookup_delta_a=0.0001, **kwargs)[source]¶
Load CAMELS-Swift-EAGLE galaxies
- Parameters:
dir (string) – data location
snap_name (string) – snapshot filename
group_name (string) – subfind / FOF filename
group_dir (string) – optional argument specifying location of fof file if different to snapshot
verbose (bool) – verbosity flag
dtm (float) – dust-to-metals ratio to apply to all gas particles
physical (bool) – Should the coordinates be converted to physical?
min_star_part (int) – minimum number of star particles required to load galaxy
num_threads (int) – number of threads to use for multiprocessing. Default is -1, i.e. use all available cores.
age_lookup (bool) – Create a lookup table for ages
age_lookup_delta_a (int) – Scale factor resolution of the age lookup
- Returns:
ParticleGalaxy object containing star and gas particle
- Return type:
galaxies (object)