LSST Applications  22.0.1,22.0.1+01bcf6a671,22.0.1+046ee49490,22.0.1+05c7de27da,22.0.1+0c6914dbf6,22.0.1+1220d50b50,22.0.1+12fd109e95,22.0.1+1a1dd69893,22.0.1+1c910dc348,22.0.1+1ef34551f5,22.0.1+30170c3d08,22.0.1+39153823fd,22.0.1+611137eacc,22.0.1+771eb1e3e8,22.0.1+94e66cc9ed,22.0.1+9a075d06e2,22.0.1+a5ff6e246e,22.0.1+a7db719c1a,22.0.1+ba0d97e778,22.0.1+bfe1ee9056,22.0.1+c4e1e0358a,22.0.1+cc34b8281e,22.0.1+d640e2c0fa,22.0.1+d72a2e677a,22.0.1+d9a6b571bd,22.0.1+e485e9761b,22.0.1+ebe8d3385e
LSST Data Management Base Package
Public Member Functions | Static Public Attributes | List of all members
lsst.cp.pipe.runEotestTask.RunEotestConfig Class Reference
Inheritance diagram for lsst.cp.pipe.runEotestTask.RunEotestConfig:

Public Member Functions

def setDefaults (self)
 
def validate (self)
 

Static Public Attributes

 ccdKey
 
 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 35 of file runEotestTask.py.

Member Function Documentation

◆ setDefaults()

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

Definition at line 134 of file runEotestTask.py.

134  def setDefaults(self):
135  """Set default config options for the subTasks."""
136  # TODO: Set to proper values - DM-12939
137  self.fe55.temp_set_point = -100
138  self.fe55.temp_set_point_tol = 20
139 
140  # TODO: Set to proper values - DM-12939
141  self.readNoise.temp_set_point = -100
142  self.readNoise.temp_set_point_tol = 20
143 
144  # TODO: make this work - DM-12939
145  self.brightPixels.temp_set_point = -100
146  self.brightPixels.temp_set_point_tol = 20
147 
148  # TODO: find the proper settings for flatPairTask to work. This will mean either using the expTime,
149  # or working out what's wrong with the MONDIODE values (debug that anyway as a large difference might
150  # indicate something else going on). Note that this task doesn't really use much in its config class,
151  # but passes in things at runtime param to its run() method, hence putting in a slot for them here.
152  # DM-12939
153  self.flatPairMaxPdFracDev = 0.99
154 

◆ validate()

def lsst.cp.pipe.runEotestTask.RunEotestConfig.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 155 of file runEotestTask.py.

155  def validate(self):
156  """Override of the valiate() method.
157 
158  The pexConfigs of the subTasks here cannot be validated in the normal way, as they are the configs
159  for eotest, which does illegal things, and this would require an upstream PR to fix. Therefore, we
160  override the validate() method here, and use it to set the output directory for each of the tasks
161  based on the legal pexConfig parameter for the main task.
162  """
163  log = lsstLog.Log.getLogger("cp.pipe.runEotestConfig")
164  if not self.eotestOutputPath:
165  raise RuntimeError("Must supply an output path for eotest data. "
166  "Please set config.eotestOutputPath.")
167 
168  taskList = ['fe55', 'brightPixels', 'darkPixels', 'readNoise', 'traps', 'cte', 'flatPair', 'ptc']
169  for task in taskList:
170  if getattr(self, task).output_dir != '.':
171  # Being thorough here: '.' is the eotest default. If this is not the value then the user has
172  # specified something, and we're going to clobber it, so raise a warning. Unlike to happen.
173  log.warn("OVERWRITING: Found a user defined output path of %s for %sTask. "
174  "This has been overwritten with %s, as individually specified output paths for "
175  "subTasks are not supported at present" % (getattr(self, task).output_dir,
176  task, self.eotestOutputPath))
177  getattr(self, task).output_dir = self.eotestOutputPath
178 
179 

Member Data Documentation

◆ brightPixels

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

Definition at line 61 of file runEotestTask.py.

◆ ccdKey

lsst.cp.pipe.runEotestTask.RunEotestConfig.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 38 of file runEotestTask.py.

◆ cte

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

Definition at line 88 of file runEotestTask.py.

◆ darkPixels

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

Definition at line 70 of file runEotestTask.py.

◆ doBrightPixels

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

Definition at line 65 of file runEotestTask.py.

◆ doCTE

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

Definition at line 92 of file runEotestTask.py.

◆ doDarkPixels

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

Definition at line 74 of file runEotestTask.py.

◆ doFe55

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

Definition at line 47 of file runEotestTask.py.

◆ doFlatPair

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

Definition at line 110 of file runEotestTask.py.

◆ doPTC

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

Definition at line 101 of file runEotestTask.py.

◆ doReadNoise

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

Definition at line 56 of file runEotestTask.py.

◆ doTraps

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

Definition at line 83 of file runEotestTask.py.

◆ eotestOutputPath

lsst.cp.pipe.runEotestTask.RunEotestConfig.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 115 of file runEotestTask.py.

◆ fe55

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

Definition at line 43 of file runEotestTask.py.

◆ flatPair

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

Definition at line 106 of file runEotestTask.py.

◆ flatPairMaxPdFracDev

lsst.cp.pipe.runEotestTask.RunEotestConfig.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 126 of file runEotestTask.py.

◆ ptc

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

Definition at line 97 of file runEotestTask.py.

◆ readNoise

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

Definition at line 52 of file runEotestTask.py.

◆ requireAllEOTests

lsst.cp.pipe.runEotestTask.RunEotestConfig.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 120 of file runEotestTask.py.

◆ traps

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

Definition at line 79 of file runEotestTask.py.


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