synthesizer.emission_models.generators.dust.blackbody¶
A submodule defining blackbody dust emission generators.
Classes
- class synthesizer.emission_models.generators.dust.blackbody.Blackbody(temperature, do_cmb_heating=False, intrinsic=None, attenuated=None, scaler=None)[source]¶
A class to generate a blackbody emission spectrum.
This can be used to generate standalone normalised blackbody spectra, or it can be used to generate scaled blackbody spectra by providing either a scaler EmissionModel or an intrinsic/attenuated EmissionModel pair to scale the blackbody spectrum accordingly. For more details see the base DustEmission parent class.
- temperature¶
The temperature of the blackbody.
- Type:
unyt_quantity
- temperature_z¶
The temperature of the blackbody at redshift z, accounting for CMB heating. Stores the last used temperature (important when used with emitter temperatures).
- Type:
unyt_quantity
- cmb_factor¶
The multiplicative factor to account for CMB heating at high-redshift.
- Type:
float
- 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 must have been provided directly to the class.
- 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: