lsst.ip.isr gdc0c513512+40072ef49b
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Static Protected Attributes | List of all members
lsst.ip.isr.overscan.ParallelOverscanCorrectionTask Class Reference
Inheritance diagram for lsst.ip.isr.overscan.ParallelOverscanCorrectionTask:
lsst.ip.isr.overscan.OverscanCorrectionTaskBase

Public Member Functions

 run (self, exposure, amp, isTransposed=False)
 
 maskParallelOverscan (self, exposure, detector, saturationLevel=None)
 

Static Public Attributes

 ConfigClass = ParallelOverscanCorrectionTaskConfig
 

Static Protected Attributes

str _DefaultName = "parallelOverscan"
 

Detailed Description

Correction task for parallel overscan.

Parameters
----------
statControl : `lsst.afw.math.StatisticsControl`, optional
    Statistics control object.

Definition at line 1202 of file overscan.py.

Member Function Documentation

◆ maskParallelOverscan()

lsst.ip.isr.overscan.ParallelOverscanCorrectionTask.maskParallelOverscan ( self,
exposure,
detector,
saturationLevel = None )
Mask parallel overscan, growing saturated pixels.

This operates on the image in-place.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
    An untrimmed raw exposure.
detector : `lsst.afw.cameraGeom.Detector`
    The detetor to use for amplifier geometry.
saturationLevel : `float`, optional
    Saturation level to use for masking.

Reimplemented from lsst.ip.isr.overscan.OverscanCorrectionTaskBase.

Definition at line 1309 of file overscan.py.

◆ run()

lsst.ip.isr.overscan.ParallelOverscanCorrectionTask.run ( self,
exposure,
amp,
isTransposed = False )
Measure and remove parallel overscan from an amplifier image.

This method assumes that serial overscan has already been
removed from the amplifier.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
    Image data that will have the overscan corrections applied.
amp : `lsst.afw.cameraGeom.Amplifier`
    Amplifier to use for debugging purposes.
isTransposed : `bool`, optional
    Is the image transposed, such that serial and parallel
    overscan regions are reversed?  Default is False.

Returns
-------
overscanResults : `lsst.pipe.base.Struct`
    Result struct with components:

    ``imageFit``
        Value or fit subtracted from the amplifier image data
        (scalar or `lsst.afw.image.Image`).
    ``overscanFit``
        Value or fit subtracted from the parallel overscan image
        data (scalar or `lsst.afw.image.Image`).
    ``overscanImage``
        Image of the parallel overscan region with the parallel
        overscan correction applied
        (`lsst.afw.image.Image`). This quantity is used to
        estimate the amplifier read noise empirically.
    ``overscanMean``
        Mean of the fit parallel overscan region.
    ``overscanMedian``
        Median of the fit parallel overscan region.
    ``overscanSigma``
        Sigma of the fit parallel overscan region.
    ``residualMean``
        Mean of the residual of the parallel overscan region after
        correction.
    ``residualMedian``
        Median of the residual of the parallel overscan region after
        correction.
    ``residualSigma``
        Mean of the residual of the parallel overscan region after
        correction.

Raises
------
RuntimeError
    Raised if an invalid overscan type is set.

Reimplemented from lsst.ip.isr.overscan.OverscanCorrectionTaskBase.

Definition at line 1213 of file overscan.py.

Member Data Documentation

◆ _DefaultName

str lsst.ip.isr.overscan.ParallelOverscanCorrectionTask._DefaultName = "parallelOverscan"
staticprotected

Definition at line 1211 of file overscan.py.

◆ ConfigClass

lsst.ip.isr.overscan.ParallelOverscanCorrectionTask.ConfigClass = ParallelOverscanCorrectionTaskConfig
static

Definition at line 1210 of file overscan.py.


The documentation for this class was generated from the following file: