redback.transient_models.spectral_models

Functions

band_function_high_energy(energies_keV, ...)

Band function (Band et al. 1993) spectrum.

blackbody_high_energy(energies_keV, ...)

Blackbody spectrum for high-energy transients.

blackbody_spectrum_at_z(angstroms, redshift, ...)

A blackbody spectrum at a given redshift, properly accounting for redshift effects.

blackbody_spectrum_with_absorption_and_emission_lines(...)

A blackbody spectrum with one absorption line and one emission line.

blackbody_spectrum_with_p_cygni_lines(...)

Blackbody spectrum with multiple P-Cygni line profiles

comptonized_high_energy(energies_keV, ...[, ...])

Comptonized (cutoff power-law with peak energy) spectrum converted to flux density.

cutoff_powerlaw_high_energy(energies_keV, ...)

Cutoff power-law photon spectrum converted to flux density.

elementary_p_cygni_profile(wavelength, ...)

Elementary P-Cygni profile with simple parameterization

gaussian_line_profile(wavelength, ...[, ...])

Pure Gaussian line profile

lorentzian_line_profile(wavelength, ...[, ...])

Pure Lorentzian (Cauchy) line profile

multi_line_p_cygni_spectrum(wavelength, ...)

Full spectrum with multiple P-Cygni profiles

p_cygni_profile(wavelength, lambda_rest, ...)

P-Cygni line profile using Sobolev approximation

powerlaw_high_energy(energies_keV, ...[, ...])

Power-law photon spectrum converted to flux density.

powerlaw_plus_blackbody_spectrum_at_z(...)

A powerlaw + blackbody spectrum at a given redshift and time, properly accounting for redshift effects.

powerlaw_spectrum_with_absorption_and_emission_lines(...)

A power law spectrum with one absorption line and one emission line.

spectrum_with_voigt_absorption_lines(...)

Add multiple Voigt absorption lines to a continuum

synow_line_model(wavelength, lambda_rest, ...)

SYNOW-style parameterized line profile

tbabs_powerlaw_high_energy(energies_keV, ...)

TBabs-absorbed power-law spectrum converted to flux density.

voigt_profile(wavelength, lambda_center, ...)

Voigt profile: convolution of Gaussian and Lorentzian line profiles