lsst.pipe.drivers gef6abdcebb+c76792dd16
Classes | Functions | Variables
lsst.pipe.drivers.skyCorrection Namespace Reference

Classes

class  SkyCorrectionConfig
 
class  SkyCorrectionConnections
 
class  SkyCorrectionTask
 

Functions

def reorderAndPadList (inputList, inputKeys, outputKeys, padWith=None)
 
def makeCameraImage (camera, exposures, filename=None, binning=8)
 

Variables

bool DEBUG = False
 

Function Documentation

◆ makeCameraImage()

def lsst.pipe.drivers.skyCorrection.makeCameraImage (   camera,
  exposures,
  filename = None,
  binning = 8 
)
Make and write an image of an entire focal plane

Parameters
----------
camera : `lsst.afw.cameraGeom.Camera`
    Camera description.
exposures : `list` of `tuple` of `int` and `lsst.afw.image.Exposure`
    List of detector ID and CCD exposures (binned by `binning`).
filename : `str`, optional
    Output filename.
binning : `int`
    Binning size that has been applied to images.

Definition at line 70 of file skyCorrection.py.

◆ reorderAndPadList()

def lsst.pipe.drivers.skyCorrection.reorderAndPadList (   inputList,
  inputKeys,
  outputKeys,
  padWith = None 
)
Match the order of one list to another, padding if necessary

Parameters
----------
inputList : list
    List to be reordered and padded. Elements can be any type.
inputKeys :  iterable
    Iterable of values to be compared with outputKeys.
    Length must match `inputList`
outputKeys : iterable
    Iterable of values to be compared with inputKeys.
padWith :
    Any value to be inserted where inputKey not in outputKeys

Returns
-------
list
    Copy of inputList reordered per outputKeys and padded with `padWith`
    so that the length matches length of outputKeys.

Definition at line 40 of file skyCorrection.py.

Variable Documentation

◆ DEBUG

bool lsst.pipe.drivers.skyCorrection.DEBUG = False

Definition at line 37 of file skyCorrection.py.