redback.sed.CutoffBlackbody
- class redback.sed.CutoffBlackbody(time: ndarray, temperature: ndarray, luminosity: ndarray, r_photosphere: ndarray, frequency: float | ndarray, luminosity_distance: float, cutoff_wavelength: float, absorption_index: float = 1.0, **kwargs: None)[source]
Bases:
_SED- __init__(time: ndarray, temperature: ndarray, luminosity: ndarray, r_photosphere: ndarray, frequency: float | ndarray, luminosity_distance: float, cutoff_wavelength: float, absorption_index: float = 1.0, **kwargs: None) None[source]
Blackbody SED with a cutoff
- Parameters:
time – time in source frame
temperature – temperature in kelvin
luminosity – luminosity in cgs
r_photosphere – photosphere radius in cm
frequency – frequency in Hz - must be a single number or same length as time array
luminosity_distance – dl in cm
cutoff_wavelength – cutoff wavelength in Angstrom
absorption_index – power-law index for UV suppression below cutoff_wavelength. Flux below cutoff scales as (cutoff_wavelength/wavelength)^absorption_index relative to a blackbody. Default is 1.0 (Nicholl+2017 nominal value for SLSNe).
kwargs – None
- __call__(**kwargs)
Call self as a function.
Methods
__init__(time, temperature, luminosity, ...)Blackbody SED with a cutoff
calculate_flux_density()Attributes
FLUX_CONSTUNITSX_CONSTflux_densitymasknxcsreferencewavelength