hispecdrp.datamodels.fiberflat

Classes

FiberflatModel([filepath, meta, meta_only, ...])

The fiber flat model contains the relative transmission of each fiber as a function of wavelength.

class FiberflatModel(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, CalibrationModel

The fiber flat model contains the relative transmission of each fiber as a function of wavelength.

Extensions

‘_FIB#’ in an HDU name denotes the fiber number (1..model.num_fibers).

HDU Name

HDU Type

Data Type

Dimensions

Units

Description

SPEC_FIB#

Image

Float32

Nord x 4096

e-/s

Extracted fiber spectrum.

SPEC_ERR_FIB#

Image

Float32

Nord x 4096

e-/s

Extracted fiber spectrum error.

SPEC_VAR_POISSON_FIB#

Image

Float32

Nord x 4096

(e-/s)^2

Extracted fiber spectrum variance (Poisson).

SPEC_VAR_RNOISE_FIB#

Image

Float32

Nord x 4096

(e-/s)^2

Extracted fiber spectrum variance (read noise).

SPEC_DQ_FIB#

Image

UInt32

Nord x 4096

Data quality.

WAVE_FIB#

Image

Float64

Nord x 4096

micron

Wavelength solution.

MID_TIME_FIB#

Image

Float64

Nord x 4096

MJD

Exposure mid-point times.

TRANS_FIB#

Image

Float32

Nord x 4096

Normalized transmission.

TRANS_ERR_FIB#

Image

Float32

Nord x 4096

Normalized transmission error.

CAL_TYPE = 'fiberflat'
EXTENSIONS = {'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': {'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 fiber spectrum.', 'units': 'e-/s'}, 'SPEC_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': 'Data quality.'}, 'SPEC_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 fiber spectrum error.', 'units': 'e-/s'}, 'SPEC_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 fiber spectrum variance (Poisson).', 'units': '(e-/s)^2'}, 'SPEC_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 fiber spectrum variance (read noise).', 'units': '(e-/s)^2'}, 'TRANS': {'default': 1, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Normalized transmission.'}, 'TRANS_ERR': {'default': 1, 'dtype': <class 'numpy.float32'>, 'enumerate': 'FIB', 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('N_ORDERS', 'DETECTOR_SIZE_Y'), 'title': 'Normalized transmission error.'}, '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'}}
on_init()[source]
property primary_extension_name