redback.sed

Functions

blackbody_to_flux_density(temperature, ...)

A general blackbody_to_flux_density formula

blackbody_to_spectrum(temperature, ...)

Create a blackbody spectrum directly from physical parameters.

boosted_bolometric_luminosity(temperature, ...)

Compute the boosted bolometric luminosity for a blackbody with temperature T (K) and radius R (cm) to account for missing blue flux.

flux_density_to_spectrum(flux_density, ...)

Convert flux density in observer frame to spectrum in erg/cm^2/s/Angstrom.

get_correct_output_format_from_spectra(time, ...)

Use SNcosmo to get the bandpass flux or magnitude in AB from spectra at given times.

Classes

Blackbody(temperature, r_photosphere, ...)

BlackbodyWithSpectralFeatures(temperature, ...)

CutoffBlackbody(time, temperature, ...)

Line(time, luminosity, frequency, sed, ...)

A class that modifies an input SED by incorporating a time‐dependent absorption line feature.

PowerlawPlusBlackbody(temperature, ...)

SED class for power law + blackbody combination with time-evolving power law

RedbackTimeSeriesSource(phase, wave, flux, ...)

Synchrotron(frequency, luminosity_distance, ...)