redback.transient_models.spectral_models.blackbody_spectrum_with_absorption_and_emission_lines
- redback.transient_models.spectral_models.blackbody_spectrum_with_absorption_and_emission_lines(angstroms, redshift, rph, temp, lc1, ls1, v1, lc2, ls2, v2, **kwargs)[source]
A blackbody spectrum with one absorption line and one emission line. One can add more lines if needed. Or turn the line strength to zero to remove the line.
- Parameters:
angstroms – wavelength array in angstroms
redshift – redshift
rph – photosphere radius in cm
temp – photosphere temperature in Kelvin
lc1 – center of emission line
ls1 – strength of emission line
v1 – velocity of emission line
lc2 – center of absorption line
ls2 – strength of absorption line
v2 – velocity of absorption line
- Returns:
flux in ergs/s/cm^2/angstrom