merge_spex_obsspec¶
- measure_extinction.merge_obsspec.merge_spex_obsspec(obstable, mask=[], output_resolution=2000)[source]¶
Merge one or more IRTF SpeX 1D spectra into a single spectrum on a uniform wavelength scale
- Parameters:
- obstableastropy Table object
table containing the observed SpeX spectrum usually the result of reading tables
- masklist of tuples [default=[]]
list of tuples with wavelength regions (in micron) that need to be masked, e.g. [(2.55,2.61),(3.01,3.10)]
- output_resolutionfloat [default=2000]
output resolution of spectrum input spectrum assumed to be at the appropriate resolution
- Returns:
- output_tableastropy Table object
merged spectra