get_line_wavelengths¶
- grizli.utils.get_line_wavelengths()[source]¶
Get a dictionary of common emission line wavelengths and line ratios
- Returns
- line_wavelengths, line_ratiosdict
Keys are common to both dictionaries and are simple names for lines and line complexes. Values are lists of line wavelengths and line ratios.
>>> from grizli.utils import get_line_wavelengths >>> line_wavelengths, line_ratios = get_line_wavelengths() >>> print(line_wavelengths['Ha'], line_ratios['Ha']) [6564.61] [1.0] >>> print(line_wavelengths['OIII'], line_ratios['OIII']) [5008.24, 4960.295] [2.98, 1]
Includes some additional combined line complexes useful for redshift fits:
>>> from grizli.utils import get_line_wavelengths >>> line_wavelengths, line_ratios = get_line_wavelengths() >>> key = 'Ha+SII+SIII+He' >>> print(line_wavelengths[key], '\n', line_ratios[key]) [6564.61, 6718.29, 6732.67, 9068.6, 9530.6, 10830.0] [1.0, 0.1, 0.1, 0.05, 0.122, 0.04]