DeferredChargeCalib#
- class lsst.ip.isr.DeferredChargeCalib(**kwargs)#
Bases:
IsrCalibCalibration containing deferred charge/CTI parameters.
This includes, parameters from Snyder+2021 and exstimates of the serial and parallel CTI using the extended pixel edge response (EPER) method (also defined in Snyder+2021).
Parameters#
- **kwargs :
Additional parameters to pass to parent constructor.
Notes#
The charge transfer inefficiency attributes stored are:
- driftScale
dict[str,float] A dictionary, keyed by amplifier name, of the local electronic offset drift scale parameter, A_L in Snyder+2021.
- decayTime
dict[str,float] A dictionary, keyed by amplifier name, of the local electronic offset decay time, tau_L in Snyder+2021.
- globalCti
dict[str,float] A dictionary, keyed by amplifier name, of the mean global CTI paramter, b in Snyder+2021.
- serialTraps
dict[str,lsst.ip.isr.SerialTrap] A dictionary, keyed by amplifier name, containing a single serial trap for each amplifier.
- signals
dict[str,np.ndarray] A dictionary, keyed by amplifier name, of the mean signal level for each input measurement.
- inputGain
dict[str,float] A dictionary, keyed by amplifier name of the input gain used to calculate the overscan statistics and produce this calib.
- serialEper
dict[str,np.ndarray,float] A dictionary, keyed by amplifier name, of the serial EPER estimator of serial CTI, given in a list for each input measurement.
- parallelEper
dict[str,np.ndarray,float] A dictionary, keyed by amplifier name, of the parallel EPER estimator of parallel CTI, given in a list for each input measurement.
- serialCtiTurnoff
dict[str,float] A dictionary, keyed by amplifier name, of the serial CTI turnoff (unit: electrons).
- parallelCtiTurnoff
dict[str,float] A dictionary, keyed by amplifier name, of the parallel CTI turnoff (unit: electrons).
- serialCtiTurnoffSamplingErr
dict[str,float] A dictionary, keyed by amplifier name, of the serial CTI turnoff sampling error (unit: electrons).
- parallelCtiTurnoffSamplingErr
dict[str,float] A dictionary, keyed by amplifier name, of the parallel CTI turnoff sampling error (unit: electrons).
Also, the values contained in this calibration are all derived from and image and overscan in units of electron as these are the most natural units in which to compute deferred charge. However, this means the the user should supply a reliable set of gains when computing the CTI statistics during ISR.
- Version 1.1 deprecates the USEGAINS attribute and standardizes
everything to electron units.
- Version 1.2 adds the
signal,serialEper,parallelEper, serialCtiTurnoff,parallelCtiTurnoff,serialCtiTurnoffSamplingErr,parallelCtiTurnoffSamplingErrattributes.
Version 1.3 adds the
inputGainattribute.Methods Summary
fromDetector(detector)Read metadata parameters from a detector.
fromDict(dictionary)Construct a calibration from a dictionary of properties.
fromTable(tableList)Construct calibration from a list of tables.
toDict()Return a dictionary containing the calibration properties.
toTable()Construct a list of tables containing the information in this calibration.
Methods Documentation
- fromDetector(detector)#
Read metadata parameters from a detector.
Parameters#
- detector
lsst.afw.cameraGeom.detector Input detector with parameters to use.
Returns#
- calib
lsst.ip.isr.Linearizer The calibration constructed from the detector.
- detector
- classmethod fromDict(dictionary)#
Construct a calibration from a dictionary of properties.
Parameters#
- dictionary
dict Dictionary of properties.
Returns#
- calib
lsst.ip.isr.CalibType Constructed calibration.
Raises#
- RuntimeError
Raised if the supplied dictionary is for a different calibration.
- dictionary
- classmethod fromTable(tableList)#
Construct calibration from a list of tables.
This method uses the
fromDictmethod to create the calibration, after constructing an appropriate dictionary from the input tables.Parameters#
- tableList
list[lsst.afw.table.Table] List of tables to use to construct the CTI calibration. Two tables are expected in this list, the first containing the per-amplifier CTI parameters, and the second containing the parameters for serial traps.
Returns#
- calib
lsst.ip.isr.DeferredChargeCalib The calibration defined in the tables.
Raises#
- ValueError
Raised if the trap type or trap coefficients are not defined properly.
- tableList
- toDict()#
Return a dictionary containing the calibration properties. The dictionary should be able to be round-tripped through
fromDict.Returns#
- dictionary
dict Dictionary of properties.
- dictionary
- toTable()#
Construct a list of tables containing the information in this calibration.
The list of tables should create an identical calibration after being passed to this class’s fromTable method.
Returns#
- tableList
list[lsst.afw.table.Table] List of tables containing the crosstalk calibration information. Two tables are generated for this list, the first containing the per-amplifier CTI parameters, and the second containing the parameters for serial traps.
- tableList