lsst.cp.pipe  15.0-1-g60afb23+29
Public Member Functions | Static Public Attributes | List of all members
lsst.cp.pipe.cpTask.CpTaskConfig Class Reference
Inheritance diagram for lsst.cp.pipe.cpTask.CpTaskConfig:

Public Member Functions

def setDefaults (self)
 
def validate (self)
 

Static Public Attributes

 fe55
 
 doFe55
 
 readNoise
 
 doReadNoise
 
 brightPixels
 
 doBrightPixels
 
 darkPixels
 
 doDarkPixels
 
 traps
 
 doTraps
 
 cte
 
 doCTE
 
 ptc
 
 doPTC
 
 flatPair
 
 doFlatPair
 
 eotestOutputPath
 
 requireAllEOTests
 
 flatPairMaxPdFracDev
 

Detailed Description

Config class for the calibration products production (CP) task.

Definition at line 37 of file cpTask.py.

Member Function Documentation

◆ setDefaults()

def lsst.cp.pipe.cpTask.CpTaskConfig.setDefaults (   self)
Set default config options for the subTasks.

Definition at line 131 of file cpTask.py.

◆ validate()

def lsst.cp.pipe.cpTask.CpTaskConfig.validate (   self)
Override of the valiate() method.

The pexConfigs of the subTasks here cannot be validated in the normal way, as they are the configs
for eotest, which does illegal things, and this would require an upstream PR to fix. Therefore, we
override the validate() method here, and use it to set the output directory for each of the tasks
based on the legal pexConfig parameter for the main task.

Definition at line 152 of file cpTask.py.

Member Data Documentation

◆ brightPixels

lsst.cp.pipe.cpTask.CpTaskConfig.brightPixels
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.BrightPixelsTask,
doc="The bright pixel/column finding task.",
)

Definition at line 58 of file cpTask.py.

◆ cte

lsst.cp.pipe.cpTask.CpTaskConfig.cte
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.CteTask,
doc="The CTE analysis task.",
)

Definition at line 85 of file cpTask.py.

◆ darkPixels

lsst.cp.pipe.cpTask.CpTaskConfig.darkPixels
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.DarkPixelsTask,
doc="The dark pixel/column finding task.",
)

Definition at line 67 of file cpTask.py.

◆ doBrightPixels

lsst.cp.pipe.cpTask.CpTaskConfig.doBrightPixels
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Find bright pixels?",
default=True,
)

Definition at line 62 of file cpTask.py.

◆ doCTE

lsst.cp.pipe.cpTask.CpTaskConfig.doCTE
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Measure the charge transfer efficiency?",
default=True,
)

Definition at line 89 of file cpTask.py.

◆ doDarkPixels

lsst.cp.pipe.cpTask.CpTaskConfig.doDarkPixels
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Find dark pixels?",
default=True,
)

Definition at line 71 of file cpTask.py.

◆ doFe55

lsst.cp.pipe.cpTask.CpTaskConfig.doFe55
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Measure gains using Fe55?",
default=True,
)

Definition at line 44 of file cpTask.py.

◆ doFlatPair

lsst.cp.pipe.cpTask.CpTaskConfig.doFlatPair
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Measure the detector response vs incident flux using flat pairs?",
default=True,
)

Definition at line 107 of file cpTask.py.

◆ doPTC

lsst.cp.pipe.cpTask.CpTaskConfig.doPTC
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Measure the photon transfer curve?",
default=True,
)

Definition at line 98 of file cpTask.py.

◆ doReadNoise

lsst.cp.pipe.cpTask.CpTaskConfig.doReadNoise
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Measure the read-noise?",
default=True,
)

Definition at line 53 of file cpTask.py.

◆ doTraps

lsst.cp.pipe.cpTask.CpTaskConfig.doTraps
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="Find traps using pocket-pumping exposures?",
default=True,
)

Definition at line 80 of file cpTask.py.

◆ eotestOutputPath

lsst.cp.pipe.cpTask.CpTaskConfig.eotestOutputPath
static
Initial value:
= pexConfig.Field(
dtype=str,
doc="Path to which to write the eotest output results. Madatory runtime arg for running eotest.",
default='',
)

Definition at line 112 of file cpTask.py.

◆ fe55

lsst.cp.pipe.cpTask.CpTaskConfig.fe55
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.Fe55Task,
doc="The Fe55 analysis task.",
)

Definition at line 40 of file cpTask.py.

◆ flatPair

lsst.cp.pipe.cpTask.CpTaskConfig.flatPair
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.FlatPairTask,
doc="The flat-pair analysis task.",
)

Definition at line 103 of file cpTask.py.

◆ flatPairMaxPdFracDev

lsst.cp.pipe.cpTask.CpTaskConfig.flatPairMaxPdFracDev
static
Initial value:
= pexConfig.Field(
dtype=float,
doc="Maximum allowed fractional deviation between photodiode currents for the eotest flatPair task. "
"This value is passed to the task's run() method at runtime rather than being stored in the task's"
"own pexConfig field.",
default=0.05,
)

Definition at line 123 of file cpTask.py.

◆ ptc

lsst.cp.pipe.cpTask.CpTaskConfig.ptc
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.PtcTask,
doc="The PTC analysis task.",
)

Definition at line 94 of file cpTask.py.

◆ readNoise

lsst.cp.pipe.cpTask.CpTaskConfig.readNoise
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.ReadNoiseTask,
doc="The read noise task.",
)

Definition at line 49 of file cpTask.py.

◆ requireAllEOTests

lsst.cp.pipe.cpTask.CpTaskConfig.requireAllEOTests
static
Initial value:
= pexConfig.Field(
dtype=bool,
doc="If True, all tests are required to be runnable, and will Raise if data is missing. If False, "
"processing will continue if a previous part failed due to the input dataset being incomplete.",
default=True,
)

Definition at line 117 of file cpTask.py.

◆ traps

lsst.cp.pipe.cpTask.CpTaskConfig.traps
static
Initial value:
= pexConfig.ConfigurableField(
target=sensorTest.TrapTask,
doc="The trap-finding task.",
)

Definition at line 76 of file cpTask.py.


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