uvex_transients.models.shock_cooling.morag.MoragShockCoolingSED.peak_luminosity#

classmethod MoragShockCoolingSED.peak_luminosity(bandpass: SpectralElement, t: Quantity, **parameters: ParameterValue) → tuple[Quantity, Quantity]#

Measure the peak of the rest-frame band luminosity, for draws of the parameters.

Parameters:
  • bandpass (SpectralElement) – The band; see eval_band_luminosity().

  • t (Quantity) – Rest-frame times since explosion, shape (T,), increasing. It has to resolve the peak; a grid that misses it underestimates the peak.

  • **parameters – This model’s parameter values; see eval_band_luminosity().

Returns:

  • peak (Quantity) – The peak \(L_\mathrm{band}\) of each draw in erg/s, shape (N,).

  • t_peak (Quantity) – The time of the peak, shape (N,).

See also

uvex_transients.models.core.lightcurve_metrics.peak_luminosity

How the peak is found on the grid.