hispecdrp.datamodels.detector_flat

Classes

DetectorFlatModel([filepath, meta, ...])

The HISPEC detector flat is a 2D image that corrects the intrinsic pixel-to-pixel sensitivity of the detector.

class DetectorFlatModel(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: CalibrationModel

The HISPEC detector flat is a 2D image that corrects the intrinsic pixel-to-pixel sensitivity of the detector.

Extensions

HDU Name

HDU Type

Data Type

Dimensions

Units

Description

FLAT

Image

Float32

4096 x 4160

DN

Flat field data.

FLAT_ERR

Image

Float32

4096 x 4160

DN

Flat field error.

FLAT_VAR_RNOISE

Image

Float32

4096 x 4160

DN^2

Flat field variance (read noise).

FLAT_VAR_POISSON

Image

Float32

4096 x 4160

DN^2

Flat field variance (Poisson).

DQ

Image

UInt32

4096 x 4160

Data quality.

CAL_TYPE = 'detflat'
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'>}, 'DQ': {'default': 0, 'dtype': <class 'numpy.uint32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Data quality.'}, 'FLAT': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Flat field data.', 'units': 'DN'}, 'FLAT_ERR': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Flat field error.', 'units': 'DN'}, 'FLAT_VAR_POISSON': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Flat field variance (Poisson).', 'units': 'DN^2'}, 'FLAT_VAR_RNOISE': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Flat field variance (read noise).', 'units': 'DN^2'}, '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'>}}
on_init()[source]