lsst.ip.isr¶
The lsst.ip.isr
module provides instrument signature removal (ISR) related tasks.
ISR includes steps such as combining multiple amplifiers into one full CCD image, corrections for overscans, crosstalk, bias and dark frames, and the creation of variance and mask planes.
Contributing¶
lsst.ip.isr
is developed at https://github.com/lsst/ip_isr.
You can find Jira issues for this module under the ip_isr component.
Python API reference¶
lsst.ip.isr Package¶
Functions¶
|
Scale an exposure by the amplifier gains. |
|
Overloaded function. |
|
Attach a TransmissionCurve to an Exposure, given separate curves for different components. |
|
Apply bias correction in place. |
|
Apply brighter fatter correction in place for the image. |
|
Check to see if an exposure is in a filter specified by a list. |
|
Count the number of pixels in a given mask plane. |
|
Make a double Gaussian PSF. |
|
Apply dark correction in place. |
|
Overloaded function. |
|
Apply flat correction in place. |
|
Context manager that applies and removes gain. |
|
Get the physical filter label associated with the given filterLabel. |
|
Grow a mask by an amount and add to the requested plane. |
|
Apply illumination correction in place. |
|
Interpolate over defects specified in a defect list. |
|
Interpolate over defects identified by a particular set of mask planes. |
|
Mask pixels based on threshold detection. |
|
Create a snapshot thumbnail from input exposure. |
|
Overloaded function. |
|
Mark saturated pixels and optionally interpolate over them |
|
Set all BAD areas of the chip to the average of the rest of the exposure |
|
Make a transposed copy of a masked image. |
|
Compute number of edge trim pixels to match the calibration data. |
|
Set the variance plane based on the image plane. |
|
Grow the saturation trails by an amount dependent on the width of the trail. |
Classes¶
|
! |
|
Simulated brighter-fatter kernel. |
|
Simulated master bias calibration. |
|
Calibration of brighter-fatter kernels for an instrument. |
|
Generate a trimmed raw exposure. |
|
Calibration of amp-to-amp crosstalk coefficients. |
|
Simulated crosstalk coefficient matrix. |
|
Configuration for intra-detector crosstalk removal. |
|
Apply intra-detector crosstalk correction. |
|
Simulated master dark calibration. |
|
Simulated defect list. |
|
Calibration handler for collections of |
|
Calibration containing deferred charge/CTI parameters. |
|
Settings for deferred charge correction. |
|
Task to correct an exposure for charge transfer inefficiency. |
|
Simulated master flat calibration. |
|
Fringe subtraction options |
|
Simulated master fringe calibration. |
|
Options for measuring fringes on an exposure |
|
Task to remove fringes from a science exposure |
|
Generic calibration type. |
|
Class to generate consistent mock images for ISR testing. |
|
Configuration parameters for isrMock. |
|
Class for the provenance of data used to construct calibration. |
|
|
|
|
|
Task to measure arbitrary statistics on ISR processed exposures. |
|
Image statistics options. |
|
Apply common instrument signature correction algorithms to a raw frame. |
|
Configuration parameters for IsrTask. |
Abstract base class functor for correcting non-linearity. |
|
Correct non-linearity with a persisted lookup table. |
|
Do not correct non-linearity. |
|
Correct non-linearity with a polynomial mode. |
|
Do not correct non-linearity. |
|
Correct non-linearity with a spline model. |
|
Correct non-linearity with a squared model. |
|
|
Parameter set for linearization. |
|
|
|
Perform extra masking for detector issues such as ghosts and glints. |
|
Parent class for those that make master calibrations. |
|
Container for holding ISR mock objects. |
|
Container for mock fringe data. |
|
|
|
Correction task for overscan. |
|
Overscan correction options. |
|
Independent current measurements from photodiode for linearity calculations. |
|
Parameter set for photodiode correction. |
|
A simple class to hold the output data from the PTC task. |
|
Generate a raw exposure dict suitable for ISR. |
|
Generate a raw exposure suitable for ISR. |
|
Represents a serial register trap. |
|
|
|
An abstract base class for rotator-dependent stray light information. |
|
Remove stray light from instruments. |
|
Simulated transmission curve. |
|
Generate a trimmed raw exposure. |
|
Simulated untrimmed master fringe calibration. |