synthesizer.emission_models.generators.dust.casey12¶
A submodule defining Casey12 dust emission generators.
Classes
- class synthesizer.emission_models.generators.dust.casey12.Casey12(temperature=None, emissivity=None, alpha=None, n_bb=1.0, lam_0=unyt_quantity(200., 'μm'), do_cmb_heating=False, intrinsic=None, attenuated=None, scaler=None)[source]¶
A class to generate dust emission spectra using the Casey (2012) model.
This follows the model from Casey (2012) which combines a mid-infrared power law with a far-infrared greybody component. https://ui.adsabs.harvard.edu/abs/2012MNRAS.425.3094C/abstract
This can be used to generate standalone normalised Casey12 spectra, or it can be used to generate scaled Casey12 spectra by providing either a scaler EmissionModel or an intrinsic/attenuated EmissionModel pair to scale the Casey12 spectrum accordingly. For more details see the base DustEmission parent class.
The mid-infrared power law is a functional form for the shape of the warm dust emission in the mid-infrared (above roughly 5-8 um). Casey (2012) finds slopes of roughly alpha = 1.5-2.5 in their fits and recommends alpha = 2.0, though other works find values outside this range. The power law has no short-wavelength cut-off, so a shallower slope puts an unphysical fraction of the dust luminosity into the near-infrared and optical (alpha <= 1 gives infinite luminosity). A warning is raised for alpha < 1.5.
- temperature¶
The temperature of the dust.
- Type:
unyt_quantity
- emissivity¶
The emissivity of the dust (dimensionless).
- Type:
float
- alpha¶
The power-law slope (dimensionless) [good value = 2.0].
- Type:
float
- n_bb¶
Normalisation of the blackbody component [default 1.0].
- Type:
float
- lam_0¶
Wavelength where the dust optical depth is unity.
- Type:
unyt_quantity
temperature, emissivity and alpha 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. The power-law turnover wavelength (lam_c) and normalisation (n_pl) depend on these parameters, so they are derived when emission is generated and never stored.
- 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, emissivity and alpha 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: