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
¶
Parametric Young Stars Example
Demonstrate the dense basis approach for describing the SFZH
Generating Lines from a Parametric Galaxy
Generate parametric observed SED
An example showing how to scale a galaxy’s mass by luminosity/flux.
Generate parametric galaxy SED
Plot equivalent width for UV indices
Compare parametric and particle SEDs
Compare SPS grid assignment methods
Compare Single star particle to instantaneous SFZH
Plot line of sight diagnostics
- class synthesizer.emission_models.operations.DustAttenuation(dust_curve, apply_dust_to, tau_v)[source]¶
A class to define the dust attenuation of spectra.
- dust_curve¶
The dust curve to apply.
- Type:
emission_models.attenuation.*
- apply_dust_to¶
The model to apply the dust curve to.
- Type:
- tau_v¶
The optical depth to apply. Can be a float, ndarray, or a string to a component attribute. Can also be a tuple combining any of these.
- Type:
float/ndarray/str/tuple
Examples using synthesizer.emission_models.operations.DustAttenuation
¶
Parametric Young Stars Example
Demonstrate the dense basis approach for describing the SFZH
Generating Lines from a Parametric Galaxy
Generate parametric observed SED
An example showing how to scale a galaxy’s mass by luminosity/flux.
Generate parametric galaxy SED
Plot equivalent width for UV indices
Compare parametric and particle SEDs
Compare SPS grid assignment methods
Compare Single star particle to instantaneous SFZH
Plot line of sight diagnostics
Examples using synthesizer.emission_models.operations.Extraction
¶
Parametric Young Stars Example
Demonstrate the dense basis approach for describing the SFZH
Generating Lines from a Parametric Galaxy
Generate parametric observed SED
An example showing how to scale a galaxy’s mass by luminosity/flux.
Generate parametric galaxy SED
Plot equivalent width for UV indices
Compare parametric and particle SEDs
Compare SPS grid assignment methods
Compare Single star particle to instantaneous SFZH
Plot line of sight diagnostics
- 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
¶
Parametric Young Stars Example
Demonstrate the dense basis approach for describing the SFZH
Generating Lines from a Parametric Galaxy
Generate parametric observed SED
An example showing how to scale a galaxy’s mass by luminosity/flux.
Generate parametric galaxy SED
Plot equivalent width for UV indices
Compare parametric and particle SEDs
Compare SPS grid assignment methods
Compare Single star particle to instantaneous SFZH
Plot line of sight diagnostics