lsst.afw g5a732f18d5+53520f316c
Loading...
Searching...
No Matches
Classes | Functions | Variables
lsst.afw.cameraGeom._assembleImage Namespace Reference

Classes

class  AmplifierIsolator
 

Functions

 _insertPixelChunk (outView, inView, amplifier)
 
 assembleAmplifierImage (destImage, rawImage, amplifier)
 
 assembleAmplifierRawImage (destImage, rawImage, amplifier)
 
 makeUpdatedDetector (ccd)
 

Variables

dict _SliceDict
 

Function Documentation

◆ _insertPixelChunk()

lsst.afw.cameraGeom._assembleImage._insertPixelChunk ( outView,
inView,
amplifier )
protected

Definition at line 32 of file _assembleImage.py.

◆ assembleAmplifierImage()

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 51 of file _assembleImage.py.

◆ assembleAmplifierRawImage()

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 78 of file _assembleImage.py.

◆ makeUpdatedDetector()

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 113 of file _assembleImage.py.

Variable Documentation

◆ _SliceDict

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

Definition at line 26 of file _assembleImage.py.