hispecdrp.datamodels.level0

Classes

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

HISPEC Level 0 data (L0) are 2D electron rate (e-/s) maps.

class L0Model(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: DataModel

HISPEC Level 0 data (L0) are 2D electron rate (e-/s) maps. They are generated by the stage 0 pipeline, which handles a subset of detector-level calibrations and fits the UTR slopes to produce rate maps with computed uncertainties in e-/s.

Extensions

HDU Name

HDU Type

Data Type

Dimensions

Units

Description

RATE

Image

Float32

4096 x 4160

e-/s

Rate map.

RATE_ERR

Image

Float32

4096 x 4160

e-/s

Rate map error (all sources).

RATE_VAR_RNOISE

Image

Float32

4096 x 4160

(e-/s)^2

Rate map variance (read noise).

RATE_VAR_POISSON

Image

Float32

4096 x 4160

(e-/s)^2

Rate map variance (Poisson).

DQ

Image

UInt32

4096 x 4160

Data quality.

MID_TIME

Image

Float64

4096 x 4160

MJD

Exposure mid-point time for each pixel.

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.'}, 'MID_TIME': {'default': 0, 'dtype': <class 'numpy.float64'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': None, 'title': 'Exposure mid-point time for each pixel.', 'units': 'MJD'}, 'PRIMARY': {'dtype': None, 'hdu_type': <class 'astropy.io.fits.hdu.image.PrimaryHDU'>}, 'RATE': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'Rate map.', 'units': 'e-/s'}, 'RATE_ERR': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': None, 'title': 'Rate map error (all sources).', 'units': 'e-/s'}, 'RATE_VAR_POISSON': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': None, 'title': 'Rate map variance (Poisson).', 'units': '(e-/s)^2'}, 'RATE_VAR_RNOISE': {'default': 0, 'dtype': <class 'numpy.float32'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': None, 'title': 'Rate map variance (read noise).', 'units': '(e-/s)^2'}, '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'>}}
property data_level_suffix