Select images using their Wcs
Definition at line 171 of file selectImages.py.
def lsst.pipe.tasks.selectImages.WcsSelectImagesTask.runDataRef |
( |
|
self, |
|
|
|
dataRef, |
|
|
|
coordList, |
|
|
|
makeDataRefList = True , |
|
|
|
selectDataList = [] |
|
) |
| |
Select images in the selectDataList that overlap the patch
We use the "convexHull" function in the geom package 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 SphericalConvexPolygon
directly because the standard for the inputs to SphericalConvexPolygon
are pretty high and we don't want to be responsible for reaching them.
If "convexHull" is found to be too slow, we can revise this.
@param dataRef: Data reference for coadd/tempExp (with tract, patch)
@param coordList: List of Coord specifying boundary of patch
@param makeDataRefList: Construct a list of data references?
@param selectDataList: List of SelectStruct, to consider for selection
Definition at line 174 of file selectImages.py.
The documentation for this class was generated from the following file: