hispecdrp.datamodels.level1
Classes
|
HISPEC level 1 (L1) data products consist of 1D spectra immediately following spectral extraction. |
- class L1Model(filepath=None, meta=None, meta_only=False, extensions=None, correct_dtypes=False, config=None, validate_meta=True, instrument_name=None, shape=None, **kwargs)[source]
Bases:
FiberAttributeProxyMixin,DataModelHISPEC level 1 (L1) data products consist of 1D spectra immediately following spectral extraction. These spectra include a wavelength solution derived from the most recent wavelength calibration available in the calibration database (likely from the LFC). However, they do not yet incorporate the simultaneous etalon data to account for any wavelength drift or any additional corrections.
Extensions
‘_FIB#’ in an HDU name denotes the fiber number (1..model.num_fibers).
HDU Name
HDU Type
Data Type
Dimensions
Units
Description
SPEC_UNCAL_FIB#
Image
Float32
Nord x 4096
e-/s
Extracted 1D spectra.
SPEC_UNCAL_ERR_FIB#
Image
Float32
Nord x 4096
e-/s
Extracted 1D spectra error.
SPEC_UNCAL_VAR_POISSON_FIB#
Image
Float32
Nord x 4096
(e-/s)^2
Extracted 1D spectra variance (Poisson).
SPEC_UNCAL_VAR_RNOISE_FIB#
Image
Float32
Nord x 4096
(e-/s)^2
Extracted 1D spectra variance (read noise).
SPEC_UNCAL_DQ_FIB#
Image
UInt32
Nord x 4096
Uncalibrated spectrum data-quality flags.
WAVE_FIB#
Image
Float64
Nord x 4096
micron
Wavelength solution.
MID_TIME_FIB#
Image
Float64
Nord x 4096
MJD
Exposure mid-point times.
BARYCORR_FIB#
Table
See docs
See docs
Barycentric correction information.
- EXTENSIONS = {'BARYCORR': {'columns': {'BERV': <class 'numpy.float64'>, 'BERVW': <class 'numpy.float64'>, 'MBJD': <class 'numpy.float64'>, 'MBJDW': <class 'numpy.float64'>, 'MJDUTC': <class 'numpy.float64'>, 'MJDUTCW': <class 'numpy.float64'>}, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.table.BinTableHDU'>, 'title': 'Barycentric correction information.'}, 'CALIBRATIONS': {'columns': {'CAL_ROLE': <class 'str'>, 'CAL_TYPE': <class 'str'>, 'CLASS': <class 'str'>, 'DATETIME_OBS': <class 'str'>, 'DRP_VERSION': <class 'str'>, 'FILENAME': <class 'str'>, 'ID': <class 'str'>, 'LAST_PROCESSED': <class 'str'>, 'TIME_APPLIED': <class 'str'>}, 'hdu_type': <class 'astropy.io.fits.hdu.table.BinTableHDU'>}, 'DATA_ANCESTORS': {'columns': {'CLASS': <class 'str'>, 'FILENAME': <class 'str'>, 'TIME_APPLIED': <class 'str'>}, 'hdu_type': <class 'astropy.io.fits.hdu.table.BinTableHDU'>}, 'MID_TIME': {'default': 0, 'dtype': <class 'numpy.float64'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Exposure mid-point times.', 'units': 'MJD'}, 'PRIMARY': {'dtype': None, 'hdu_type': <class 'astropy.io.fits.hdu.image.PrimaryHDU'>}, 'RECEIPT': {'columns': {'CLASS': <class 'str'>, 'CONFIG_FILE': <class 'str'>, 'DRP_GIT_COMMIT_ID': <class 'str'>, 'DRP_VERSION': <class 'str'>, 'FILENAME': <class 'str'>, 'PARAMETERS': <class 'str'>, 'PROC_END_TIME': <class 'str'>, 'PROC_START_TIME': <class 'str'>, 'STATUS': <class 'str'>}, 'hdu_type': <class 'astropy.io.fits.hdu.table.BinTableHDU'>}, 'SPEC_UNCAL': {'default': 0, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Extracted 1D spectra.', 'units': 'e-/s'}, 'SPEC_UNCAL_DQ': {'default': 0, 'dtype': <class 'numpy.uint32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Uncalibrated spectrum data-quality flags.'}, 'SPEC_UNCAL_ERR': {'default': 0, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Extracted 1D spectra error.', 'units': 'e-/s'}, 'SPEC_UNCAL_VAR_POISSON': {'default': 0, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Extracted 1D spectra variance (Poisson).', 'units': '(e-/s)^2'}, 'SPEC_UNCAL_VAR_RNOISE': {'default': 0, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Extracted 1D spectra variance (read noise).', 'units': '(e-/s)^2'}, 'WAVE': {'default': 0, 'dtype': <class 'numpy.float64'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Wavelength solution.', 'units': 'micron'}}