synthesizer.emission_models.generators.dust.greybody

A submodule defining greybody dust emission generators.

Classes

class synthesizer.emission_models.generators.dust.greybody.Greybody(temperature=None, emissivity=None, optically_thin=True, lam_0=unyt_quantity(100., 'μm'), do_cmb_heating=False, intrinsic=None, attenuated=None, scaler=None)[source]

A class to generate a greybody emission spectrum.

This can be used to generate standalone normalised greybody spectra, or it can be used to generate scaled greybody spectra by providing either a scaler EmissionModel or an intrinsic/attenuated EmissionModel pair to scale the greybody spectrum accordingly. For more details see the base DustEmission parent class.

temperature

The temperature of the greybody.

Type:

unyt_quantity

emissivity

The emissivity of the dust (dimensionless).

Type:

float

optically_thin

If dust is optically thin?

Type:

bool

lam_0

Wavelength (in um) where the dust optical depth is unity.

Type:

unyt_quantity

temperature and emissivity are optional. A value set on the generator is a fixed override that takes priority over any value on the emitter (only an EmissionModel’s fixed_parameters take priority over it). If left as None they are read from the emitter.

get_spectra(lams, redshift=0)[source]

Generate dust emission spectra for given wavelength grid.

This will return the scaling free spectra for a given wavelength grid. It will not consider any emitter or model, so the temperature and emissivity must have been provided directly to the class (otherwise a MissingAttribute exception is raised).

Parameters:
  • lams (unyt_array) – The wavelength grid on which to generate the spectra.

  • redshift (float) – The redshift at which to calculate the CMB heating.

Returns:

The generated dust emission SED.

Return type:

Sed