synthesizer.emission_models.operations¶
A submodule containing the operations performed by an EmissionModel.
An emission models inherits each of there opertaion classes but will only ever instantiate one. This is because operations are isolated to one per model. The correct operation is instantiated in EmissionMode._init_operations.
These classes should not be used directly.
Classes
- class synthesizer.emission_models.operations.Combination(combine)[source]¶
A class to define the combination of spectra.
- combine¶
A list of models to combine.
- Type:
list
Examples using synthesizer.emission_models.operations.Combination
¶

Demonstrate the dense basis approach for describing the SFZH

An example showing how to scale a galaxy’s mass by luminosity/flux.

Compare Single star particle to instantaneous SFZH
Examples using synthesizer.emission_models.operations.Extraction
¶

Demonstrate the dense basis approach for describing the SFZH

An example showing how to scale a galaxy’s mass by luminosity/flux.

Compare Single star particle to instantaneous SFZH
- class synthesizer.emission_models.operations.Generation(generator, lum_intrinsic_model, lum_attenuated_model)[source]¶
A class to define the generation of spectra.
This can be used either to generate spectra for dust emission with the intrinsic and attenuated spectra used to scale the emission or to simply get a spectra from a generator.
- generator¶
The emission generation model. This must define a get_spectra method.
- Type:
- lum_intrinsic_model¶
The intrinsic model to use deriving the dust luminosity when computing dust emission.
- Type:
- lum_attenuated_model¶
The attenuated model to use deriving the dust luminosity when computing dust emission.
- Type:
Examples using synthesizer.emission_models.operations.Generation
¶

Demonstrate the dense basis approach for describing the SFZH

An example showing how to scale a galaxy’s mass by luminosity/flux.

Compare Single star particle to instantaneous SFZH
- class synthesizer.emission_models.operations.Transformation(transformer, apply_to)[source]¶
A class to define the transformation of an emission.
A transformation can include attenuation of the spectra by an extinction curve, or it can involve any scaling of the emission.
A Transformer is needed to apply the transformation to the emission. This class must inherit from the Transformer base class (defined in emission_models/transformers/transformer.py) and must define the get_transformation method. This method should return an array the size of the input that can multiply the emission.
- transformer¶
The transformer to apply to the emission.
- Type:
- apply_to¶
The model to apply the transformer to.
- Type:
Examples using synthesizer.emission_models.operations.Transformation
¶

Demonstrate the dense basis approach for describing the SFZH

An example showing how to scale a galaxy’s mass by luminosity/flux.

Compare Single star particle to instantaneous SFZH