lsst.pipe.tasks geee7ff78d7+12f2c8fe79
Loading...
Searching...
No Matches
Classes | Functions | Variables
lsst.pipe.tasks.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

 isTrimmed
 
 exposures
 
 background
 

Function Documentation

◆ makeCameraImage()

def lsst.pipe.tasks.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 127 of file skyCorrection.py.

◆ reorderAndPadList()

def lsst.pipe.tasks.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 39 of file skyCorrection.py.

Variable Documentation

◆ background

lsst.pipe.tasks.skyCorrection.background

Definition at line 93 of file skyCorrection.py.

◆ exposures

lsst.pipe.tasks.skyCorrection.exposures

Definition at line 92 of file skyCorrection.py.

◆ isTrimmed

lsst.pipe.tasks.skyCorrection.isTrimmed

Definition at line 91 of file skyCorrection.py.