lsst.afw g7304ef7ade+7dcd958d67
Loading...
Searching...
No Matches
Classes | Functions
lsst.afw.cameraGeom._assembleImage Namespace Reference

Classes

class  AmplifierIsolator
 

Functions

def assembleAmplifierImage (destImage, rawImage, amplifier)
 
def assembleAmplifierRawImage (destImage, rawImage, amplifier)
 
def makeUpdatedDetector (ccd)
 

Function Documentation

◆ assembleAmplifierImage()

def lsst.afw.cameraGeom._assembleImage.assembleAmplifierImage (   destImage,
  rawImage,
  amplifier 
)
Assemble the amplifier region of an image from a raw image.

Parameters
----------
destImage : `lsst.afw.image.Image` or `lsst.afw.image.MaskedImage`
    Assembled image; the region amplifier.getBBox() is overwritten with
    the assembled amplifier image.
rawImage : `lsst.afw.image.Image` or `lsst.afw.image.MaskedImage`
    Raw image (same type as destImage).
amplifier : `lsst.afw.cameraGeom.Amplifier`
    Amplifier geometry, with raw amplifier info.

Raises
------
RuntimeError
    Raised if image types do not match or amplifier has no raw amplifier info.

Definition at line 52 of file _assembleImage.py.

◆ assembleAmplifierRawImage()

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
----------
destImage : `lsst.afw.image.Image` or `lsst.afw.image.MaskedImage`
    CCD Image; the region amplifier.getRawAmplifier().getBBox()
    is overwritten with the raw amplifier image.
rawImage : `lsst.afw.image.Image` or `lsst.afw.image.MaskedImage`
    Raw image (same type as destImage).
amplifier : `lsst.afw.cameraGeom.Amplifier`
    Amplifier geometry with raw amplifier info

Raises
------
RuntimeError
    Raised if image types do not match or amplifier has no raw amplifier info.

Definition at line 80 of file _assembleImage.py.

◆ makeUpdatedDetector()

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

Parameters
----------
ccd : `lsst.afw.image.Detector`
    The detector to copy and update.

Definition at line 116 of file _assembleImage.py.