lsst.pipe.drivers g1ca1189e32+4c00ee2a5f
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 lsst::ctrl::pool::parallel::BatchPoolTask lsst::ctrl::pool::parallel::BatchCmdLineTask

Public Member Functions

def applyOverrides (cls, config)
 
def __init__ (self, *args, **kwargs)
 
def processResult (self, exposure)
 
def scale (self, ccdIdLists, data)
 

Static Public Attributes

 ConfigClass = FlatConfig
 
string calibName = "flat"
 

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 1018 of file constructCalibs.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from lsst.pipe.drivers.constructCalibs.CalibTask.

Definition at line 1035 of file constructCalibs.py.

Member Function Documentation

◆ applyOverrides()

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

Definition at line 1030 of file constructCalibs.py.

◆ processResult()

def lsst.pipe.drivers.constructCalibs.FlatTask.processResult (   self,
  exposure 
)
Extract processing results from a processed exposure

This method generates what is gathered by the master node.
This can be a background measurement or similar for scaling
flat-fields.  It must be picklable!

Only slave nodes execute this method.

Reimplemented from lsst.pipe.drivers.constructCalibs.CalibTask.

Definition at line 1039 of file constructCalibs.py.

◆ scale()

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.

Reimplemented from lsst.pipe.drivers.constructCalibs.CalibTask.

Definition at line 1042 of file constructCalibs.py.

Member Data Documentation

◆ calibName

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

Definition at line 1027 of file constructCalibs.py.

◆ ConfigClass

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

Definition at line 1025 of file constructCalibs.py.


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