lsst.pipe.drivers  13.0-17-g3ce57e5+36
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.drivers.constructCalibs.DarkTask Class Reference
Inheritance diagram for lsst.pipe.drivers.constructCalibs.DarkTask:
lsst.pipe.drivers.constructCalibs.CalibTask

Public Member Functions

def __init__ (self, args, kwargs)
 
def applyOverrides (cls, config)
 
def processSingle (self, sensorRef)
 
def getDarkTime (self, exposure)
 
- Public Member Functions inherited from lsst.pipe.drivers.constructCalibs.CalibTask
def __init__ (self, args, kwargs)
 
def batchWallTime (cls, time, parsedCmd, numCores)
 
def run (self, expRefList, butler, calibId)
 Construct a calib from a list of exposure references. More...
 
def getOutputId (self, expRefList, calibId)
 Generate the data identifier for the output calib. More...
 
def getMjd (self, butler, dataId, timescale=dafBase.DateTime.UTC)
 
def getFilter (self, butler, dataId)
 
def addMissingKeys (self, dataId, butler, missingKeys=None, calibName=None)
 
def updateMetadata (self, calibImage, exposureTime, darkTime=None, kwargs)
 Update the metadata from the VisitInfo. More...
 
def scatterProcess (self, pool, ccdIdLists)
 Scatter the processing among the nodes. More...
 
def process (self, cache, ccdId, outputName="postISRCCD")
 Process a CCD, specified by a data identifier. More...
 
def processSingle (self, dataRef)
 
def processWrite (self, dataRef, exposure, outputName="postISRCCD")
 Write the processed CCD. More...
 
def processResult (self, exposure)
 
def scale (self, ccdIdLists, data)
 Determine scaling across CCDs and exposures. More...
 
def scatterCombine (self, pool, outputId, ccdIdLists, scales)
 Scatter the combination of exposures across multiple nodes. More...
 
def combine (self, cache, struct, outputId)
 Combine multiple exposures of a particular CCD and write the output. More...
 
def recordCalibInputs (self, butler, calib, dataIdList, outputId)
 Record metadata including the inputs and creation details. More...
 
def interpolateNans (self, image)
 
def write (self, butler, exposure, dataId)
 Write the final combined calib. More...
 

Static Public Attributes

 ConfigClass = DarkConfig
 
string calibName = "dark"
 
string filterName = "NONE"
 
- Static Public Attributes inherited from lsst.pipe.drivers.constructCalibs.CalibTask
 ConfigClass = CalibConfig
 
 RunnerClass = CalibTaskRunner
 
 filterName = None
 
 calibName = None
 
float exposureTime = 1.0
 

Detailed Description

Dark construction

The only major difference from the base class is a cosmic-ray
identification stage, and dividing each image by the dark time
to generate images of the dark rate.

Definition at line 786 of file constructCalibs.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.drivers.constructCalibs.DarkTask.__init__ (   self,
  args,
  kwargs 
)

Definition at line 798 of file constructCalibs.py.

Member Function Documentation

◆ applyOverrides()

def lsst.pipe.drivers.constructCalibs.DarkTask.applyOverrides (   cls,
  config 
)
Overrides to apply for dark construction

Definition at line 803 of file constructCalibs.py.

◆ getDarkTime()

def lsst.pipe.drivers.constructCalibs.DarkTask.getDarkTime (   self,
  exposure 
)
Retrieve the dark time for an exposure

Definition at line 835 of file constructCalibs.py.

◆ processSingle()

def lsst.pipe.drivers.constructCalibs.DarkTask.processSingle (   self,
  sensorRef 
)
Process a single CCD

Besides the regular ISR, also masks cosmic-rays and divides each
processed image by the dark time to generate images of the dark rate.
The dark time is provided by the 'getDarkTime' method.

Definition at line 809 of file constructCalibs.py.

Member Data Documentation

◆ calibName

string lsst.pipe.drivers.constructCalibs.DarkTask.calibName = "dark"
static

Definition at line 795 of file constructCalibs.py.

◆ ConfigClass

lsst.pipe.drivers.constructCalibs.DarkTask.ConfigClass = DarkConfig
static

Definition at line 793 of file constructCalibs.py.

◆ filterName

string lsst.pipe.drivers.constructCalibs.DarkTask.filterName = "NONE"
static

Definition at line 796 of file constructCalibs.py.


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