load_pypeit_calibration_lines¶
- specreduce.calibration_data.load_pypeit_calibration_lines(lamps=None, wave_air=False, cache=True, show_progress=False)[source]¶
Load reference calibration lines from
pypeit
linelists. Thepypeit
linelists are well-curated and have been tested across a wide range of spectrographs. The available linelists are defined byPYPEIT_CALIBRATION_LINELISTS
.- Parameters:
- lampsstr or list-like (default: None)
Lamp or list of lamps to include in output reference linelist. The parlance of “lamp” is retained here for consistency with its use in
pypeit
and elsewhere. In several of the supported cases the “lamp” is the sky itself (e.g. OH lines in the near-IR).- wave_airbool (default: False)
If True, convert the vacuum wavelengths used by
pypeit
to air wavelengths.- cachebool (default: True)
Toggle caching of downloaded data
- show_progressbool (default: False)
Show download progress bar
- Returns:
- linelist:
Table
Table containing the combined calibration line list.
pypeit
linelists have the following columns: *ion
: Ion or molecule generating the line. *wave
: Vacuum wavelength of the line in Angstroms. *NIST
: Flag denoting if NIST is the ultimate reference for the line’s wavelength. *Instr
:pypeit
-specific instrument flag. *amplitude
: Amplitude of the line. Beware, not consistent between lists. *Source
: Source of the line information.
- linelist: