uvex_transients.utils.phot_utils.relative_bandpass_table#

uvex_transients.utils.phot_utils.relative_bandpass_table(bandpass: SpectralElement) → tuple[NDArray[float64], NDArray[float64]][source]#

Return a bandpass’s frequencies, increasing, and its throughput there relative to the peak.

Parameters:

bandpass (SpectralElement) – The band.

Returns:

  • nu (numpy.ndarray) – Frequency samples in Hz, in increasing order.

  • throughput (numpy.ndarray) – The throughput at each, divided by its maximum.