lsst.afw  13.0-98-g5a654715e+2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
lsst.afw.cameraGeom.assembleImage Namespace Reference

Functions

def assembleAmplifierImage
 Assemble the amplifier region of an image from a raw image. More...
 
def assembleAmplifierRawImage
 Assemble the amplifier region of a raw CCD image. More...
 
def makeUpdatedDetector
 

Variables

list __ALL__
 
dictionary _SliceDict
 

Function Documentation

def lsst.afw.cameraGeom.assembleImage.assembleAmplifierImage (   destImage,
  rawImage,
  amplifier 
)

Assemble the amplifier region of an image from a raw image.

Parameters
[in,out]destImageassembled image (lsst.afw.image.Image or MaskedImage); the region amplifier.getBBox() is overwritten with the assembled amplifier image
[in]rawImageraw image (same type as destImage)
[in]amplifieramplifier geometry: lsst.afw.cameraGeom.Amplifier with raw amplifier info
Exceptions
RuntimeErrorif:
  • image types do not match
  • amplifier has no raw amplifier info

Definition at line 57 of file assembleImage.py.

def lsst.afw.cameraGeom.assembleImage.assembleAmplifierRawImage (   destImage,
  rawImage,
  amplifier 
)

Assemble the amplifier region of a raw CCD image.

For most cameras this is a no-op: the raw image already is an assembled CCD image. However, it is useful for camera such as LSST for which each amplifier image is a separate image.

Parameters
[in,out]destImageCCD image (lsst.afw.image.Image or MaskedImage); the region amplifier.getRawAmplifier().getBBox() is overwritten with the raw amplifier image
[in]rawImageraw image (same type as destImage)
[in]amplifieramplifier geometry: lsst.afw.cameraGeom.Amplifier with raw amplifier info
Exceptions
RuntimeErrorif:
  • image types do not match
  • amplifier has no raw amplifier info

Definition at line 81 of file assembleImage.py.

def lsst.afw.cameraGeom.assembleImage.makeUpdatedDetector (   ccd)
Return a Detector that has had the definitions of amplifier geometry updated post assembly

Definition at line 111 of file assembleImage.py.

Variable Documentation

list lsst.afw.cameraGeom.assembleImage.__ALL__
Initial value:
1 = ['assembleAmplifierImage', 'assembleAmplifierRawImage',
2  'updateAmpGeometryForAssembledCcd']

Definition at line 27 of file assembleImage.py.

dictionary lsst.afw.cameraGeom.assembleImage._SliceDict
Initial value:
1 = {
2  False: slice(None, None, 1),
3  True: slice(None, None, -1),
4 }

Definition at line 31 of file assembleImage.py.