From 663ebfda0d78e86a9847c12a6c6c843b9b4f8842 Mon Sep 17 00:00:00 2001 From: Meredith Rawls Date: Fri, 8 Nov 2024 00:46:44 -0800 Subject: [PATCH] Clarify nVisitsMin docstring in good seeing selector --- python/lsst/pipe/tasks/selectImages.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python/lsst/pipe/tasks/selectImages.py b/python/lsst/pipe/tasks/selectImages.py index 6274199c3..0c00a69b7 100644 --- a/python/lsst/pipe/tasks/selectImages.py +++ b/python/lsst/pipe/tasks/selectImages.py @@ -647,8 +647,13 @@ class BestSeeingQuantileSelectVisitsConfig(pipeBase.PipelineTaskConfig, max=1, ) nVisitsMin = pexConfig.Field( - doc="At least this number of visits selected and supercedes quantile. For example, if 10 visits " - "cover this patch, qMin=0.33, and nVisitsMin=5, the best 5 visits will be selected.", + doc="The ideal minimum number of visits to select. In regimes with many visits, " + "at least this number of visits will be selected, superceding quantile. " + "For example, if 10 visits cover this patch, qMin=0, qMax=0.33, and nVisitsMin=5, " + "the best 5 visits will be selected, even though 5 > 0.33*10. " + "In regimes with few visits, all available visits will be selected. " + "For example, if 2 visits cover this patch and nVisitsMin=12, " + "both visits will be selected regardless of qMin and qMax.", dtype=int, default=6, )