synthesizer.load_data

Load simulation data into Synthesizer galaxy objects.

Each loader in this module reads particle data from a specific simulation and populates Galaxy objects with stellar, gas, and optionally black-hole components.

Controlling array precision

All loader functions accept a dtype parameter (default: np.float64) that controls the floating-point precision of the particle arrays passed to Galaxy.load_stars and Galaxy.load_gas.

Setting dtype=np.float32 reduces memory usage and is compatible with grids opened with Grid(use_precision=np.float32).

Available loaders

load_camels

A submodule for loading CAMELS data into the synthesizer.

load_eagle

A submodule for loading EAGLE data into Synthesizer.

load_flares

A submodule for loading FLARES data into Synthesizer.

load_scsam

A submodule for loading SC-SAM data into Synthesizer.

load_simba

A submodule for loading Simba data into Synthesizer.

utils

Utilities for data loading methods.