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

Classes

class  SkyCorrectionConfig
 
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 40 of file skyCorrection.py.

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

Variable Documentation

◆ DEBUG

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

Definition at line 37 of file skyCorrection.py.