lsst.pipe.drivers  13.0-17-g3ce57e5+9
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.drivers.constructCalibs.FlatTask Class Reference
Inheritance diagram for lsst.pipe.drivers.constructCalibs.FlatTask:
lsst.pipe.drivers.constructCalibs.CalibTask

Public Member Functions

def applyOverrides
 
def __init__
 
def processResult
 
def scale
 
- Public Member Functions inherited from lsst.pipe.drivers.constructCalibs.CalibTask
def __init__
 
def batchWallTime
 
def run
 Construct a calib from a list of exposure references. More...
 
def getOutputId
 Generate the data identifier for the output calib. More...
 
def getMjd
 
def getFilter
 
def addMissingKeys
 
def updateMetadata
 Update the metadata from the VisitInfo. More...
 
def scatterProcess
 Scatter the processing among the nodes. More...
 
def process
 Process a CCD, specified by a data identifier. More...
 
def processSingle
 
def processWrite
 Write the processed CCD. More...
 
def processResult
 
def scale
 Determine scaling across CCDs and exposures. More...
 
def scatterCombine
 Scatter the combination of exposures across multiple nodes. More...
 
def combine
 Combine multiple exposures of a particular CCD and write the output. More...
 
def recordCalibInputs
 Record metadata including the inputs and creation details. More...
 
def interpolateNans
 
def write
 Write the final combined calib. More...
 

Static Public Attributes

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

Detailed Description

Flat construction

The principal change from the base class involves gathering the background
values from each image and using them to determine the scalings for the final
combination.

Definition at line 851 of file constructCalibs.py.

Constructor & Destructor Documentation

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

Definition at line 868 of file constructCalibs.py.

Member Function Documentation

def lsst.pipe.drivers.constructCalibs.FlatTask.applyOverrides (   cls,
  config 
)
Overrides for flat construction

Definition at line 863 of file constructCalibs.py.

def lsst.pipe.drivers.constructCalibs.FlatTask.processResult (   self,
  exposure 
)

Definition at line 872 of file constructCalibs.py.

def lsst.pipe.drivers.constructCalibs.FlatTask.scale (   self,
  ccdIdLists,
  data 
)
Determine the scalings for the final combination

We have a matrix B_ij = C_i E_j, where C_i is the relative scaling
of one CCD to all the others in an exposure, and E_j is the scaling
of the exposure.  We convert everything to logarithms so we can work
with a linear system.  We determine the C_i and E_j from B_ij by iteration,
under the additional constraint that the average CCD scale is unity.

This algorithm comes from Eugene Magnier and Pan-STARRS.

Definition at line 875 of file constructCalibs.py.

Member Data Documentation

string lsst.pipe.drivers.constructCalibs.FlatTask.calibName = "flat"
static

Definition at line 860 of file constructCalibs.py.

lsst.pipe.drivers.constructCalibs.FlatTask.ConfigClass = FlatConfig
static

Definition at line 858 of file constructCalibs.py.


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