tardis.spectrum.luminosity module

tardis.spectrum.luminosity.calculate_filtered_luminosity(packet_nu, packet_luminosity, luminosity_nu_start=<Quantity 0. Hz>, luminosity_nu_end=<Quantity inf Hz>)[source]

Calculate total luminosity within a filter range.

Parameters:
packet_nuastropy.units.Quantity
packet_luminosityastropy.units.Quantity
luminosity_nu_startastropy.units.Quantity
luminosity_nu_endastropy.units.Quantity
Returns:
astropy.units.Quantity