redback.transient_models.spectral_models.synow_line_model

redback.transient_models.spectral_models.synow_line_model(wavelength, lambda_rest, tau_ref, v_phot, v_max, aux_depth=0.0, temp_exc=10000.0, **kwargs)[source]

SYNOW-style parameterized line profile

Based on the SYNOW code for direct analysis of SN spectra.

Parameters:
  • wavelength (array) – Wavelength array in Angstroms

  • lambda_rest (float) – Rest wavelength of transition in Angstroms

  • tau_ref (float) – Reference optical depth at photosphere

  • v_phot (float) – Photospheric velocity in km/s

  • v_max (float) – Maximum velocity of line-forming region in km/s

  • aux_depth (float) – Detachment factor for a shell: v_detach = v_phot * (1 + aux_depth). Set >0 to detach the absorbing material from the photosphere.

  • temp_exc (float) – Excitation temperature in K (default 10000). Used to scale tau_ref as tau_ref_scaled = tau_ref * (temp_exc / 10000).

Returns:

flux – SYNOW-style line profile (normalized to continuum=1)

Return type:

array

References

  • Fisher et al. 1997 (ApJ, 481, L89) - SYNOW introduction

  • Branch et al. 2002 (ApJ, 566, 1005) - SYNOW applications

Examples

>>> wave = np.linspace(5800, 6800, 1000)
>>> flux = synow_line_model(wave, lambda_rest=6355, tau_ref=5.0,
...                          v_phot=10000, v_max=25000)