LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.pipe.drivers.skyCorrection Namespace Reference

Classes

class  SkyCorrectionConfig
 
class  SkyCorrectionConnections
 
class  SkyCorrectionTask
 

Functions

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 39 of file skyCorrection.py.

39 def makeCameraImage(camera, exposures, filename=None, binning=8):
40  """Make and write an image of an entire focal plane
41 
42  Parameters
43  ----------
44  camera : `lsst.afw.cameraGeom.Camera`
45  Camera description.
46  exposures : `list` of `tuple` of `int` and `lsst.afw.image.Exposure`
47  List of detector ID and CCD exposures (binned by `binning`).
48  filename : `str`, optional
49  Output filename.
50  binning : `int`
51  Binning size that has been applied to images.
52  """
53  image = visualizeVisit.makeCameraImage(camera, dict(exp for exp in exposures if exp is not None), binning)
54  if filename is not None:
55  image.writeFits(filename)
56  return image
57 
58 

Variable Documentation

◆ DEBUG

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

Definition at line 36 of file skyCorrection.py.

lsst.pipe.drivers.skyCorrection.makeCameraImage
def makeCameraImage(camera, exposures, filename=None, binning=8)
Definition: skyCorrection.py:39