uvex_transients.models.core.base.ComposedSpectralModel.eval_band_luminosity#
- classmethod ComposedSpectralModel.eval_band_luminosity(bandpass: SpectralElement, t: Quantity, **parameters: ParameterValue) Quantity#
Evaluate the rest-frame luminosity in a band, for draws of the parameters, on a grid of times.
The luminosity is \(L_\mathrm{band}(t)=\int L_\nu(\nu,t)\,\tilde T(\nu)\,d\nu\), with \(\tilde T\) the throughput of the band relative to its peak (see uvex_transients.utils.phot_utils).
- Parameters:
bandpass (
SpectralElement) – The band, for example one of a detector’sbandpasses.t (
Quantity) – Rest-frame times since explosion, shape(T,).**parameters – This model’s parameter values. Arrays of shape
(N,), such assample_parameters()returns, giveNdraws; scalars give one. Seeeval_log_cgs().
- Returns:
\(L_\mathrm{band}\) in erg/s, shape
(N, T).NaNwhere the model has no valid epoch.- Return type:
See also
peak_luminosityThe peak of this curve.
decline_timeThe time it takes to fall from the peak.