remove_telluric_division¶
Remove telluric absorption by dividing the science spectrum by a reference.
| Category | Corrections |
| Backend | numpy - implemented here on top of numpy primitives |
| Version | 1.1.0 |
| Reads | ctx.spectrum (a Spectrum1D) |
| Writes | spectrum |
Provide the telluric template either via template_path (a FITS file) or by storing a Spectrum1D in ctx.extras['telluric_spectrum']. Since v1.1.0, when template_key is left at its default 'telluric_spectrum' and that key is absent, the brick falls back to ctx.extras['telluric_template_scaled'] (written by fit_telluric_scaling) and then ctx.extras['telluric_template'] (written by synth_telluric), so the chain synth_telluric → fit_telluric_scaling → remove_telluric_division works with all defaults. The key actually used is recorded in meta['telluric_template_key']. The template's wavelength axis may be in any order (sorted internally).
Parameters¶
| Parameter | Default | Required | Description |
|---|---|---|---|
template_path |
None |
- | Path / URL to the telluric standard FITS spectrum. |
template_key |
'telluric_spectrum' |
- | Key into ctx.extras holding a Spectrum1D template. With the default 'telluric_spectrum' absent, 'telluric_template_scaled' then 'telluric_template' are tried. |
min_transmission |
0.05 |
- | Below this normalised value the spectrum is masked, not divided. |
Use it¶
References¶
- Vacca, Cushing & Rayner 2003, PASP 115, 389 — telluric correction methodology
Related algorithms¶
air_to_vacuum- Convert the wavelength axis from air to vacuum wavelengths.barycentric_correction- Compute the barycentric (or heliocentric) correction and Julian date, and shift the spectrum.doppler_shift- Doppler-shift the wavelength axis by a radial velocity.extinction_correct_easyspec- Apply atmospheric extinction correction toctx.spectrumvia easyspec.fit_telluric_scaling- Fit the airmass that best matches a telluric template toctx.spectrum.synth_telluric- Generate a synthetic telluric transmission spectrum.vacuum_to_air- Convert the wavelength axis from vacuum to air wavelengths.