runSelection¶
- lsst.ts.wep.task.runSelection(refObjLoader, detector, wcs, filterName, donutSelectorTask)¶
Match the detector area to the reference catalog and then run the LSST DM reference selection task. For configuration parameters on the reference selector see
lsst.meas.algorithms.ReferenceSourceSelectorConfig
.Parameters¶
- refObjLoader
meas.algorithms.ReferenceObjectLoader
Reference object loader to use in getting reference objects.
- detector
lsst.afw.cameraGeom.Detector
Detector object from the camera.
- wcs
lsst.afw.geom.SkyWcs
Wcs object defining the pixel to sky (and inverse) transform for the supplied
bbox
.- filterName
str
Name of camera filter.
- donutSelectorTask
lsst.ts.wep.task.DonutSourceSelectorTask
or None Task to run the donut source selection algorithm. If set to None, the catalog will be the exact same as the reference catalogs without any donut selection algorithm applied.
Returns¶
- referenceCatalog
lsst.afw.table.SimpleCatalog
Catalog containing reference objects inside the specified bounding box and with properties within the bounds set by the
referenceSelector
.- list
X pixel location of centroids of blended donuts.
- list
Y pixel location of centroids of blended donuts.
- refObjLoader