synthesizer.load_data.load_flares

A submodule for loading FLARES data into Synthesizer.

Example usage:

from synthesizer.load_data import load_FLARES

# Load FLARES data galaxies = load_FLARES(

master_file=”path/to/master_file.hdf5”, region=”region_name”, tag=”snapshot_tag”, read_abundances=True,

)

Functions

synthesizer.load_data.load_flares.load_FLARES(master_file, region, tag, read_abundances=False)[source]

Load FLARES galaxies from a FLARES master file.

Parameters:
  • master_file (str) – The path to the master file.

  • region (str) – The region to load data from.

  • tag (str) – The snapshot tag to load data from.

  • read_abundances (bool) – Whether to read the abundances of the stars. If True, the oxygen and hydrogen abundances are loaded. If False, only the metallicity is loaded.

Returns:

ParticleGalaxy object containing stars

Return type:

galaxies (object)