lsst.pipe.tasks g1c5cce2383+c432657add
Loading...
Searching...
No Matches
lsst.pipe.tasks.diffractionSpikeMask Namespace Reference

Classes

class  DiffractionSpikeMaskConfig
 
class  DiffractionSpikeMaskTask
 

Functions

 getRegion (exposure, margin=None)
 
 computePsfWidthFromMoments (psf, angle=0.)
 

Function Documentation

◆ computePsfWidthFromMoments()

lsst.pipe.tasks.diffractionSpikeMask.computePsfWidthFromMoments ( psf,
angle = 0. )
Calculate the width of an elliptical PSF along a given direction.

Parameters
----------
psf : `lsst.afw.detection.Psf`
    The point spread function of the image.
angle : `float`, optional
    Rotation CCW from the +x axis to calculate the width of the PSF along.

Returns
-------
fwhm : `float`
    Full width at half maximum of the fitted shape of the PSF along the
    given `angle`. In pixels.

Definition at line 456 of file diffractionSpikeMask.py.

◆ getRegion()

lsst.pipe.tasks.diffractionSpikeMask.getRegion ( exposure,
margin = None )
Calculate an enveloping region for an exposure.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
    Exposure object with calibrated WCS.

Returns
-------
region : `lsst.sphgeom.Region`
    Region enveloping an exposure.

Definition at line 424 of file diffractionSpikeMask.py.