uvex_transients.models.shock_cooling.khatami.KhatamiSED.eval_band_luminosity#

classmethod KhatamiSED.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’s bandpasses.

  • t (Quantity) – Rest-frame times since explosion, shape (T,).

  • **parameters – This model’s parameter values. Arrays of shape (N,), such as sample_parameters() returns, give N draws; scalars give one. See eval_log_cgs().

Returns:

\(L_\mathrm{band}\) in erg/s, shape (N, T). NaN where the model has no valid epoch.

Return type:

Quantity

See also

peak_luminosity

The peak of this curve.

decline_time

The time it takes to fall from the peak.