synthesizer.emission_models.models

A submodule containing the definitions of common emission models.

This module contains the definitions of commoon emission models that can be used “out of the box” to generate spectra from components or as a foundation to work from when creating more complex models.

Example usage:

# Create a simple emission model
model = DustEmission(
    dust_emission_model=BlackBody(50 * K),
    dust_lum_intrinsic=intrinsic,
    dust_lum_attenuated=attenuated,
)

# Generate the spectra
spectra = stars.get_spectra(model)

Classes

class synthesizer.emission_models.models.AttenuatedEmission(dust_curve, apply_dust_to, tau_v, emitter, label='attenuated', grid=None, **kwargs)[source]

An emission model that defines the attenuated emission.

This defines the attenuation of the reprocessed emission by dust.

This is a child of the EmissionModel class for a full description of the parameters see the EmissionModel class.

dust_curve

The dust curve to use.

Type:

synthesizer.dust.DustCurve

apply_dust_to

The emission model to apply the dust to.

Type:

EmissionModel

tau_v

The optical depth of the dust.

Type:

float

label

The label for this emission model.

Type:

str

class synthesizer.emission_models.models.DustEmission(dust_emission_model, emitter, dust_lum_intrinsic=None, dust_lum_attenuated=None, label='dust_emission', grid=None, **kwargs)[source]

An emission model that defines the dust emission.

This defines the dust emission model to use.

This is a child of the EmissionModel class for a full description of the parameters see the EmissionModel class.

dust_emission_model

The dust emission model to use.

Type:

synthesizer.dust.DustEmissionModel

label

The label for this emission model.

Type:

str

class synthesizer.emission_models.models.TemplateEmission(template, emitter, label='template', **kwargs)[source]

An emission model that uses a template for emission extraction.

This is a child of the EmisisonModel class, for a full description of the parameters see the EmissionModel class.