lsst.ip.diffim¶
The lsst.ip.diffim
module provides algorithms for astronomical image differencing.
Using lsst.ip.diffim¶
Contributing¶
lsst.ip.diffim
is developed at https://github.com/lsst/ip_diffim.
You can find Jira issues for this module under the ip_diffim component.
Task reference¶
Pipeline tasks¶
- FractionDiaSourcesToSciSourcesMetricTask
Task that computes the ratio of difference image sources to science sources in an image, visit, etc.
- GetTemplateTask
Base class for all pipeline tasks.
- NumberSciSourcesMetricTask
Task that computes the number of cataloged non-primary science sources.
Tasks¶
- DecorrelateALKernelSpatialTask
Decorrelate the effect of convolution by Alard-Lupton matching kernel in image difference
- DecorrelateALKernelTask
Decorrelate the effect of convolution by Alard-Lupton matching kernel in image difference
- DiaCatalogSourceSelectorTask
A task that selects sources for Kernel candidates.
- DipoleMeasurementTask
Measurement of Sources, specifically ones from difference images, for characterization as dipoles
- MakeKernelTask
Construct a kernel for PSF matching two exposures.
- ModelPsfMatchTask
Matching of two model Psfs, and application of the Psf-matching kernel to an input Exposure
Configurations¶
No topics.
Python API reference¶
lsst.ip.diffim Package¶
Functions¶
|
Shift an image along the X and Y directions. |
|
Subtract the background from masked images. |
|
Calculate the shift in pixels of an exposure due to DCR. |
|
Calculate the total sky rotation angle of an exposure. |
|
Overloaded function. |
|
Generate an Alard-Lupton kernel basis list based upon the Config and the input FWHM of the science and template images. |
|
|
|
Overloaded function. |
|
|
|
|
|
|
|
|
|
Generate the delta function or Alard-Lupton kernel bases depending on the Config. |
|
Overloaded function. |
|
|
|
|
|
Convert a list of sources for the PSF-matching Kernel to Footprints. |
|
TODO: DM-17458 |
Classes¶
|
|
|
Subtract a template from a science image, convolving the science image before computing the kernel, and also convolving the template before subtraction. |
|
|
|
Compute the image difference of a science and template image using the Alard & Lupton (1998) algorithm. |
|
Configuration for classification of detected diaSources as dipole or not |
|
A plugin to classify whether a diaSource is a dipole. |
|
A model of the true sky after correcting chromatic effects. |
|
Configuration parameters for the DecorrelateALKernelTask |
|
Configuration parameters for the ImageMapReduceTask to direct it to use DecorrelateALKernelMapper as its mapper for A&L decorrelation. |
|
Task to be used as an ImageMapper for performing A&L decorrelation on subimages on a grid across a A&L difference image. |
|
Configuration parameters for the DecorrelateALKernelSpatialTask. |
|
Decorrelate the effect of convolution by Alard-Lupton matching kernel in image difference |
|
Decorrelate the effect of convolution by Alard-Lupton matching kernel in image difference |
|
Config for DetectAndMeasureTask |
|
|
|
Detect DIA sources using a score image, and measure the detections on the difference image. |
|
Detect and measure sources on a difference image. |
|
Configuration for detecting sources on images for building a PSF-matching kernel |
|
|
|
A task that selects sources for Kernel candidates. |
Functor class that provides (S/N, position, orientation) of measured dipoles |
|
Functor to deblend a source as a dipole, and return a new source with deblended footprints. |
|
|
Fit a dipole model using an image difference. |
|
A single frame measurement plugin that fits dipoles to all merged (two-peak) |
|
Configuration for DipoleFitPlugin |
|
A task that fits a dipole to a difference image, with an optional separate detection image. |
|
Measurement of detected diaSources as dipoles |
|
Measurement of detected diaSources as dipoles |
|
Measurement of Sources, specifically ones from difference images, for characterization as dipoles |
|
|
|
|
|
|
|
|
|
Configuration parameters for the ImageMapReduceTask |
|
Split an Exposure into subExposures (optionally on a grid) and perform the same operation on each. |
|
Abstract base class for any task that is to be used as |
|
Configuration parameters for ImageMapper |
|
Base class for any 'reduce' task that is to be used as |
|
Configuration parameters for the ImageReducer |
|
Quality Assessment class for Kernel Candidates |
|
|
|
Construct a kernel for PSF matching two exposures. |
|
Configuration for model-to-model Psf matching |
|
Matching of two model Psfs, and application of the Psf-matching kernel to an input Exposure |
|
A functor to evaluate the Bayesian Information Criterion for the number of basis sets going into the kernel fitting |
|
Base configuration for Psf-matching |
|
The parameters specific to the "Alard-Lupton" (sum-of-Gaussian) Psf-matching basis |
|
The parameters specific to the delta-function (one basis per-pixel) Psf-matching basis |
|
Base class for Psf Matching; should not be called directly |
|
Functor class to check whether a diaSource has flags set that should cause it to be labeled bad. |
Class Inheritance Diagram¶
lsst.ip.diffim.metrics Module¶
Classes¶
|
Task that computes the number of cataloged non-primary science sources. |
|
|
Task that computes the ratio of difference image sources to science sources in an image, visit, etc. |
|