redback.transient_models.spectral_models.powerlaw_spectrum_with_absorption_and_emission_lines

redback.transient_models.spectral_models.powerlaw_spectrum_with_absorption_and_emission_lines(angstroms, alpha, aa, lc1, ls1, v1, lc2, ls2, v2, **kwargs)[source]

A power law 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

  • alpha – power law index

  • aa – normalization

  • 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