lsst.pipe.tasks gcf00bf066d+02752e367a
Loading...
Searching...
No Matches
lsst.pipe.tasks.selectImages.WcsSelectImagesTask Class Reference
Inheritance diagram for lsst.pipe.tasks.selectImages.WcsSelectImagesTask:
lsst.pipe.tasks.selectImages.BaseSelectImagesTask lsst.pipe.tasks.selectImages.PsfWcsSelectImagesTask

Public Member Functions

 run (self, wcsList, bboxList, coordList, dataIds=None, **kwargs)
 
 getValidImageCorners (self, imageWcs, imageBox, patchPoly, dataId=None)
 

Static Public Attributes

 ConfigClass = pexConfig.Config
 

Static Protected Attributes

str _DefaultName = "selectImages"
 

Detailed Description

Select images using their Wcs.

We use the "convexHull" method of lsst.sphgeom.ConvexPolygon to define
polygons on the celestial sphere, and test the polygon of the
patch for overlap with the polygon of the image.

We use "convexHull" instead of generating a ConvexPolygon
directly because the standard for the inputs to ConvexPolygon
are pretty high and we don't want to be responsible for reaching them.

Definition at line 203 of file selectImages.py.

Member Function Documentation

◆ getValidImageCorners()

lsst.pipe.tasks.selectImages.WcsSelectImagesTask.getValidImageCorners ( self,
imageWcs,
imageBox,
patchPoly,
dataId = None )
Return corners or `None` if bad.

Parameters
----------
imageWcs : `Unknown`
imageBox : `Unknown`
patchPoly : `Unknown`
dataId : `Unknown`

Definition at line 256 of file selectImages.py.

◆ run()

lsst.pipe.tasks.selectImages.WcsSelectImagesTask.run ( self,
wcsList,
bboxList,
coordList,
dataIds = None,
** kwargs )
Return indices of provided lists that meet the selection criteria.

Parameters
----------
wcsList : `list` [`lsst.afw.geom.SkyWcs`]
    Specifying the WCS's of the input ccds to be selected.
bboxList : `list` [`lsst.geom.Box2I`]
    Specifying the bounding boxes of the input ccds to be selected.
coordList : `list` [`lsst.geom.SpherePoint`]
    ICRS coordinates specifying boundary of the patch.
dataIds : iterable [`lsst.daf.butler.dataId`] or `None`, optional
    An iterable object of dataIds which point to reference catalogs.
**kwargs
    Additional keyword arguments.

Returns
-------
result : `list` [`int`]
    The indices of selected ccds.

Reimplemented from lsst.pipe.tasks.selectImages.BaseSelectImagesTask.

Reimplemented in lsst.pipe.tasks.selectImages.PsfWcsSelectImagesTask.

Definition at line 218 of file selectImages.py.

Member Data Documentation

◆ _DefaultName

str lsst.pipe.tasks.selectImages.BaseSelectImagesTask._DefaultName = "selectImages"
staticprotectedinherited

Definition at line 114 of file selectImages.py.

◆ ConfigClass

lsst.pipe.tasks.selectImages.BaseSelectImagesTask.ConfigClass = pexConfig.Config
staticinherited

Definition at line 113 of file selectImages.py.


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