uvex_transients.models.host_dust#
Host-galaxy dust as part of an SED model.
HostDustMixin adds two parameters, the V-band attenuation \(A_V\) and the total-to-selective ratio \(R_V\), to a ~uvex_transients.models.core.base.SpectralModel and multiplies its rest-frame spectral luminosity by the attenuation of a reddening law (G23 by default, see HostDustMixin.DUST_LAW),
\[L_\nu^\mathrm{obs}(\nu, t) = L_\nu^\mathrm{int}(\nu, t)\,10^{-0.4\,A(\nu)},
\qquad A(\nu) = A_V\,\frac{A(\nu)}{A(V)}\bigg|_{R_V}.\]
The dust is part of the model, not a line-of-sight correction. Milky Way foreground dust is a different
thing and remains the ebv/log_attenuation argument of the photometry methods (see
uvex_transients.dust).
Classes
Mixin that puts host-galaxy dust attenuation into an SED model. |