Skip to content
Sophia Flury edited this page Jan 25, 2024 · 1 revision

OutLines module

phi_out

OutLines.phi_out(w, w0, vinf, alpha, beta)
Name:

phi_out

Purpose:

Calculate the nebular emission line profile for a galactic outflow assuming a power-law density field, a beta-law velocity field, and the Sobolev approximation.

Arguments:
wave (np.ndarray):

array of observed wavelengths

wave0 (float):

rest-frame central wavelength

vinf (float):

terminal velocity in c units

alpha (float):

power-law index of density field

beta (float):

power-law index of velocity field

Returns:

:phi (np.ndarray) : emission line profile in units of wavelength^(-1)

tau_out

OutLines.tau_out(wave, wave0, vinf, alpha, beta)
Name:

tau_out

Purpose:

Calculate the absorption line profile for a galactic outflow assuming a power-law density field, a beta-law velocity field, and the Sobolev approximation.

Arguments:
wave (np.ndarray):

array of observed wavelengths

wave0 (float):

rest-frame central wavelength

vinf (float):

terminal velocity in c units

alpha (float):

power-law index of density field

beta (float):

power-law index of velocity field

Returns:

:tau (np.ndarray) : unitless absorption line profile

Clone this wiki locally