uvex_transients.models.supernovae.IIb.MoragShockCoolingBlackbodySED.mag_band_cgs#

classmethod MoragShockCoolingBlackbodySED.mag_band_cgs(nu: NumericalInput, throughput: NumericalInput, t: NumericalInput, redshift: NumericalInput, luminosity_distance: NumericalInput, *, log_attenuation: NumericalInput | None = None, **parameters: CGSParameterValue) → FloatResult#

Apparent AB magnitude of the band-averaged flux density. See flux_band_cgs()/mag_cgs().

Broadcasting (including log_attenuation’s) follows flux_band_cgs()’s rules exactly.

Parameters:
  • nu (array-like) – Observed frequency grid to integrate over, in Hz. Need not be sorted.

  • throughput (array-like) – Dimensionless bandpass response at each nu sample.

  • t (array-like) – Observed time since explosion, in seconds.

  • redshift (array-like) – Cosmological redshift, dimensionless.

  • luminosity_distance (array-like) – Luminosity distance, in cm.

  • log_attenuation (array-like, optional) – See flux_band_log_cgs().

  • **parameters – This model’s parameter values, in cgs units. See flux_band_log_cgs().

Returns:

The apparent AB magnitude of the band-averaged flux density. A scalar is returned if the result is 0-dimensional.

Return type:

numpy.ndarray or float