LSSTApplications  21.0.0+1b62c9342b,21.0.0+45a059f35e,21.0.0-1-ga51b5d4+ceb9cf20a3,21.0.0-19-g7c7630f+a88ebbf2d9,21.0.0-2-g103fe59+3522cf3bc7,21.0.0-2-g1367e85+571a348718,21.0.0-2-g2909d54+45a059f35e,21.0.0-2-g45278ab+1b62c9342b,21.0.0-2-g4bc9b9f+35a70d5868,21.0.0-2-g5242d73+571a348718,21.0.0-2-g54e2caa+aa129c4686,21.0.0-2-g66bcc37+3caef57c29,21.0.0-2-g7f82c8f+6f9059e2fe,21.0.0-2-g8dde007+5d1b9cb3f5,21.0.0-2-g8f08a60+73884b2cf5,21.0.0-2-g973f35b+1d054a08b9,21.0.0-2-ga326454+6f9059e2fe,21.0.0-2-ga63a54e+3d2c655db6,21.0.0-2-gc738bc1+a567cb0f17,21.0.0-2-gde069b7+5a8f2956b8,21.0.0-2-ge17e5af+571a348718,21.0.0-2-ge712728+834f2a3ece,21.0.0-2-gecfae73+dfe6e80958,21.0.0-2-gfc62afb+571a348718,21.0.0-21-g006371a9+88174a2081,21.0.0-3-g4c5b185+7fd31a6834,21.0.0-3-g6d51c4a+3caef57c29,21.0.0-3-gaa929c8+55f5a6a5c9,21.0.0-3-gd222c45+afc8332dbe,21.0.0-3-gd5de2f2+3caef57c29,21.0.0-4-g3300ddd+1b62c9342b,21.0.0-4-g5873dc9+9a92674037,21.0.0-4-g8a80011+5955f0fd15,21.0.0-5-gb7080ec+8658c79ec4,21.0.0-5-gcff38f6+89f2a0074d,21.0.0-6-gd3283ba+55f5a6a5c9,21.0.0-8-g19111d86+2c4b0a9f47,21.0.0-9-g7bed000b9+c7d3cce47e,w.2021.03
LSSTDataManagementBasePackage
Static Public Attributes | List of all members
lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig Class Reference
Inheritance diagram for lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig:

Static Public Attributes

 ccdKey
 
 ptcFitType
 
 maximumRangeCovariancesAstier
 
 covAstierRealSpace
 
 polynomialFitDegree
 
 linearity
 
 doCreateLinearizer
 
 binSize
 
 minMeanSignal
 
 maxMeanSignal
 
 initialNonLinearityExclusionThresholdPositive
 
 initialNonLinearityExclusionThresholdNegative
 
 minMeanRatioTest
 
 minVarPivotSearch
 
 sigmaCutPtcOutliers
 
 maskNameList
 
 nSigmaClipPtc
 
 nIterSigmaClipPtc
 
 minNumberGoodPixelsForFft
 
 maxIterationsPtcOutliers
 
 doFitBootstrap
 
 doPhotodiode
 
 photodiodeDataPath
 
 instrumentName
 

Detailed Description

Config class for photon transfer curve measurement task

Definition at line 47 of file ptc.py.

Member Data Documentation

◆ binSize

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.binSize
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Bin the image by this factor in both dimensions.",
default=1,
)

Definition at line 90 of file ptc.py.

◆ ccdKey

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.ccdKey
static
Initial value:
= pexConfig.Field(
dtype=str,
doc="The key by which to pull a detector from a dataId, e.g. 'ccd' or 'detector'.",
default='ccd',
)

Definition at line 49 of file ptc.py.

◆ covAstierRealSpace

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.covAstierRealSpace
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Calculate covariances in real space or via FFT? (see appendix A of Astier+19).",
default=False,
)

Definition at line 69 of file ptc.py.

◆ doCreateLinearizer

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.doCreateLinearizer
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Calculate non-linearity and persist linearizer?",
default=False,
)

Definition at line 84 of file ptc.py.

◆ doFitBootstrap

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.doFitBootstrap
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Use bootstrap for the PTC fit parameters and errors?.",
default=False,
)

Definition at line 176 of file ptc.py.

◆ doPhotodiode

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.doPhotodiode
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Apply a correction based on the photodiode readings if available?",
default=True,
)

Definition at line 181 of file ptc.py.

◆ initialNonLinearityExclusionThresholdNegative

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.initialNonLinearityExclusionThresholdNegative
static
Initial value:
= pexConfig.RangeField(
dtype=float,
doc="Initially exclude data points with a variance that are more than a factor of this from being"
" linear in the negative direction, from the PTC fit. Note that these points will also be"
" excluded from the non-linearity fit. This is done before the iterative outlier rejection,"
" to allow an accurate determination of the sigmas for said iterative fit.",
default=0.25,
min=0.0,
max=1.0,
)

Definition at line 121 of file ptc.py.

◆ initialNonLinearityExclusionThresholdPositive

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.initialNonLinearityExclusionThresholdPositive
static
Initial value:
= pexConfig.RangeField(
dtype=float,
doc="Initially exclude data points with a variance that are more than a factor of this from being"
" linear in the positive direction, from the PTC fit. Note that these points will also be"
" excluded from the non-linearity fit. This is done before the iterative outlier rejection,"
" to allow an accurate determination of the sigmas for said iterative fit.",
default=0.05,
min=0.0,
max=1.0,
)

Definition at line 111 of file ptc.py.

◆ instrumentName

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.instrumentName
static
Initial value:
= pexConfig.Field(
dtype=str,
doc="Instrument name.",
default='',
)

Definition at line 191 of file ptc.py.

◆ linearity

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.linearity
static
Initial value:
= pexConfig.ConfigurableField(
target=LinearitySolveTask,
doc="Task to solve the linearity."
)

Definition at line 79 of file ptc.py.

◆ maskNameList

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.maskNameList
static
Initial value:
= pexConfig.ListField(
dtype=str,
doc="Mask list to exclude from statistics calculations.",
default=['SUSPECT', 'BAD', 'NO_DATA'],
)

Definition at line 151 of file ptc.py.

◆ maximumRangeCovariancesAstier

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.maximumRangeCovariancesAstier
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Maximum range of covariances as in Astier+19",
default=8,
)

Definition at line 64 of file ptc.py.

◆ maxIterationsPtcOutliers

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.maxIterationsPtcOutliers
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Maximum number of iterations for outlier rejection in PTC.",
default=2,
)

Definition at line 171 of file ptc.py.

◆ maxMeanSignal

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.maxMeanSignal
static
Initial value:
= pexConfig.DictField(
keytype=str,
itemtype=float,
doc="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}",
default={'ALL_AMPS': 1e6},
)

Definition at line 103 of file ptc.py.

◆ minMeanRatioTest

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.minMeanRatioTest
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="In the initial test to screen out bad points with a ratio test, points with low"
" flux can get inadvertantly screened. This test only screens out points with flux"
" above this value.",
default=20000,
)

Definition at line 131 of file ptc.py.

◆ minMeanSignal

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.minMeanSignal
static
Initial value:
= pexConfig.DictField(
keytype=str,
itemtype=float,
doc="Minimum values (inclusive) of mean signal (in ADU) above which to consider, per amp."
" The same cut is applied to all amps if this dictionary is of the form"
" {'ALL_AMPS': value}",
default={'ALL_AMPS': 0.0},
)

Definition at line 95 of file ptc.py.

◆ minNumberGoodPixelsForFft

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.minNumberGoodPixelsForFft
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Minimum number of acceptable good pixels per amp to calculate the covariances via FFT.",
default=10000,
)

Definition at line 166 of file ptc.py.

◆ minVarPivotSearch

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.minVarPivotSearch
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="The code looks for a pivot signal point after which the variance starts decreasing at high-flux"
" to exclude then form the PTC model fit. However, sometimes at low fluxes, the variance"
" decreases slightly. Set this variable for the variance value, in ADU^2, after which the pivot "
" should be sought.",
default=10000,
)

Definition at line 138 of file ptc.py.

◆ nIterSigmaClipPtc

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.nIterSigmaClipPtc
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Number of sigma-clipping iterations for afwMath.StatisticsControl()",
default=1,
)

Definition at line 161 of file ptc.py.

◆ nSigmaClipPtc

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.nSigmaClipPtc
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Sigma cut for afwMath.StatisticsControl()",
default=5.5,
)

Definition at line 156 of file ptc.py.

◆ photodiodeDataPath

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.photodiodeDataPath
static
Initial value:
= pexConfig.Field(
dtype=str,
doc="Gen2 only: path to locate the data photodiode data files.",
default=""
)

Definition at line 186 of file ptc.py.

◆ polynomialFitDegree

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.polynomialFitDegree
static
Initial value:
= pexConfig.Field(
dtype=int,
doc="Degree of polynomial to fit the PTC, when 'ptcFitType'=POLYNOMIAL.",
default=3,
)

Definition at line 74 of file ptc.py.

◆ ptcFitType

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.ptcFitType
static
Initial value:
= pexConfig.ChoiceField(
dtype=str,
doc="Fit PTC to Eq. 16, Eq. 20 in Astier+19, or to a polynomial.",
default="POLYNOMIAL",
allowed={
"POLYNOMIAL": "n-degree polynomial (use 'polynomialFitDegree' to set 'n').",
"EXPAPPROXIMATION": "Approximation in Astier+19 (Eq. 16).",
"FULLCOVARIANCE": "Full covariances model in Astier+19 (Eq. 20)"
}
)

Definition at line 54 of file ptc.py.

◆ sigmaCutPtcOutliers

lsst.cp.pipe.ptc.MeasurePhotonTransferCurveTaskConfig.sigmaCutPtcOutliers
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Sigma cut for outlier rejection in PTC.",
default=5.0,
)

Definition at line 146 of file ptc.py.


The documentation for this class was generated from the following file: