uvex_transients.models.supernovae.villar.VillarCoolingBlackbodySED.mag_bandpass#

classmethod VillarCoolingBlackbodySED.mag_bandpass(bandpass: SpectralElement, t: Quantity, *, redshift: PhysicalInput | None = None, luminosity_distance: Quantity | None = None, angular_diameter_distance: Quantity | None = None, proper_distance: Quantity | None = None, cosmology: FLRW | None = None, log_attenuation: NumericalInput | None = None, **parameters: ParameterValue) → Quantity#

Evaluate the apparent AB magnitude of the flux averaged over bandpass.

Convenience wrapper around mag_band() that reads its nu and throughput straight off bandpass instead of requiring them as separate arguments – see mag_bandpass_cgs().

Parameters:
Returns:

The apparent AB magnitude, as an ABmag Quantity.

Return type:

Quantity