uvex_transients.simulation.event.Event.mag#
- Event.mag(t: Quantity, mission: Mission, band: Hashable | None = None) Quantity[source]#
Theoretical (noiseless) apparent AB magnitude of this event’s SED at time(s) t.
This is the literal noiseless curve
simulate_photometry()’s noisy points scatter around, not merely a physically similar but numerically different quantity: like that method, the flux is the photon-weighted average over the full bandpass throughput (~uvex_transients.models.core.base.SpectralModel.flux_band), not the flux at the bandpass’s pivot wavelength, and this event’s own foreground dust (ebv) is applied across the band, in addition to its redshift/luminosity_distance/SED parameters (seesample_parameters()) – so only a time grid and a mission/band are needed. Useful for plotting a theory curve alongside real observations, not for simulating a detection.- Parameters:
- Returns:
The apparent AB magnitude, as an
ABmagQuantity, with t’s shape.- Return type: