hispecdrp.datamodels.nonlin
Classes
|
Specifies the nonlinearity of the detector readout response with a unique polynomial for each pixel. |
- class NonlinearCorrectionModel(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:
CalibrationModelSpecifies the nonlinearity of the detector readout response with a unique polynomial for each pixel.
Extensions
HDU Name
HDU Type
Data Type
Dimensions
Units
Description
COEFFS
Image
Float64
4096 x 4160 x N
Polynomial coeffs describing the nonlinearity.
NONLIN_THRESH
Image
UInt16
4096 x 4160
TBD, from JWST.
NONLIN_MAX
Image
UInt16
4096 x 4160
TBD, from JWST.
DQ
Image
UInt32
4096 x 4160
Data quality.
- 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'>}, 'COEFFS': {'dtype': <class 'numpy.float64'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X', 'ANY'), 'title': 'Polynomial coeffs describing the nonlinearity.'}, '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.'}, 'NONLIN_MAX': {'default': 65535, 'dtype': <class 'numpy.uint16'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'TBD, from JWST.'}, 'NONLIN_THRESH': {'default': 58981.5, 'dtype': <class 'numpy.uint16'>, 'hdu_type': <class 'astropy.io.fits.hdu.image.ImageHDU'>, 'shape': ('DETECTOR_SIZE_Y', 'DETECTOR_SIZE_X'), 'title': 'TBD, from JWST.'}, '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'>}}
- make_default_array(extname, info)[source]
- on_init()[source]