PhotonTransferCurveExtractTask¶
PhotonTransferCurveExtractTask
constructs a photon transfer curve (PTC) dataset from a single pair of flat field exposures.
Processing summary¶
PhotonTransferCurveExtractTask
runs these operations:
- Pairs exposures together by either exposure time (the default) or by exposure id (in the case where the exposure time does not track with the observed flux).
- Measures the mean, variances, and covariances from the difference of the pair of exposures.
- Persists these results in a set of partial PTC datasets.
Python API summary¶
from lsst.cp.pipe.ptc.cpExtractPtcTask import PhotonTransferCurveExtractTask
-
class
(*, config: Optional[PipelineTaskConfig] = None, log: Optional[Union[logging.Logger, LsstLogAdapter]] = None, initInputs: Optional[Dict[str, Any]] = None, **kwargs)PhotonTransferCurveExtractTask
Task to measure covariances from flat fields
...
-
attribute
config
Access configuration fields and retargetable subtasks.
See also
See the PhotonTransferCurveExtractTask
API reference for complete details.
Retargetable subtasks¶
No subtasks.
Configuration fields¶
connections¶
- Data type
lsst.pipe.base.config.Connections
- Field type
ConfigField
Configurations describing the connections of the PipelineTask to datatypes
detectorMeasurementRegion¶
- Default
'AMP'
- Field type
str
ChoiceField
(optional)- Choices
'AMP'
- Amplifier of the detector.
'FULL'
- Full image.
None
- Field is optional
Region of each exposure where to perform the calculations (amplifier or full image).
edgeMaskLevel¶
- Default
'DETECTOR'
- Field type
str
ChoiceField
(optional)- Choices
'DETECTOR'
- Mask only the edges of the full detector.
'AMP'
- Mask edges of each amplifier.
None
- Field is optional
Mask edge pixels in which coordinate frame: DETECTOR or AMP?
maskNameList¶
Mask list to exclude from statistics calculations.
matchByExposureId¶
Should exposures be matched by ID rather than exposure time?
maxMeanSignal¶
Maximum values (inclusive) of mean signal (in ADU) below which to consider, per amp. The same cut is applied to all amps if this dictionary is of the form {‘ALL_AMPS’: value}
maximumRangeCovariancesAstier¶
Maximum range of covariances as in Astier+19
minMeanSignal¶
Minimum values (inclusive) of mean signal (in ADU) per amp to use. The same cut is applied to all amps if this parameter [
dict
] is passed as {‘ALL_AMPS’: value}minNumberGoodPixelsForCovariance¶
Minimum number of acceptable good pixels per amp to calculate the covariances (via FFT or direclty).
nIterSigmaClipPtc¶
Number of sigma-clipping iterations for afwMath.StatisticsControl()
numEdgeSuspect¶
Number of edge pixels to be flagged as untrustworthy.
saveLogOutput¶
Flag to enable/disable saving of log output for a task, enabled by default.
saveMetadata¶
Flag to enable/disable metadata saving for a task, enabled by default.