BestSeeingQuantileSelectVisitsTask#
- class lsst.pipe.tasks.selectImages.BestSeeingQuantileSelectVisitsTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#
Bases:
BestSeeingSelectVisitsTaskSelect a quantile of the best-seeing visits.
Selects the best (for example, third) full visits based on the average PSF width in the entire visit. It can also be used for difference imaging experiments that require templates with the worst seeing visits. For example, selecting the worst third can be acheived by changing the config parameters qMin to 0.66 and qMax to 1.
Methods Summary
run(visitSummaries, skyMap, dataId)Run task.
Methods Documentation
- run(visitSummaries, skyMap, dataId)#
Run task.
Parameters#
- visitSummary
list[lsst.pipe.base.connections.DeferredDatasetRef] List of
lsst.pipe.base.connections.DeferredDatasetRefof visitSummary tables of typelsst.afw.table.ExposureCatalog.- skyMap
lsst.skyMap.SkyMap SkyMap for checking visits overlap patch.
- dataId
dictof dataId keys For retrieving patch info for checking visits overlap patch.
Returns#
- result
lsst.pipe.base.Struct Results as a struct with attributes:
goodVisitsA
dictwith selected visit ids as keys, so that it can be be saved as a StructuredDataDict. StructuredDataList’s are currently limited.
- visitSummary