read_echelle_fits¶
Read a multi-order échelle FITS file into ctx.spectra.
| Category | Input / output |
| Backend | astropy - wraps the domain-standard astropy implementation |
| Version | 1.0.0 |
| Reads | - |
| Writes | spectra |
Each order is loaded with full sample count; no resampling happens here. Set flux_column and wavelength_column to override the column-name auto-detection when needed.
Parameters¶
| Parameter | Default | Required | Description |
|---|---|---|---|
path |
None |
yes | FITS file path (local). |
flux_column |
None |
- | Name of the flux column for the table layout (auto-detected when null). |
wavelength_column |
None |
- | Name of the wavelength column (auto-detected when null). |
wavelength_unit |
'Angstrom' |
- | Unit label written on each Spectrum1D. |
Use it¶
References¶
- astropy.io.fits.
- Common amateur échelle FITS layouts (eShel, Lhires-III echelle reductions).
Related algorithms¶
read_ascii_spectrum- Read a 1D spectrum from a two- or three-column text file.read_fits- Read a 1D spectrum from a FITS file (local path or http(s) URL).read_sdss_spectrum- Read an SDSS-format spectrum (spec-*.fits) intoctx.spectrum.read_votable_spectrum- Read a 1D spectrum from a VOTable file (the IVOA Virtual Observatory format).