-
Notifications
You must be signed in to change notification settings - Fork 3
API
- 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)
- 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