From ed4fb0a37bff51f7d955202519f28534b4ca4b7a Mon Sep 17 00:00:00 2001 From: Peter Yoachim Date: Fri, 16 Jun 2023 11:02:58 -0700 Subject: [PATCH] update twilight neo name in glance batch --- rubin_sim/maf/batches/glance_batch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rubin_sim/maf/batches/glance_batch.py b/rubin_sim/maf/batches/glance_batch.py index e61683322..9da5ca7f3 100644 --- a/rubin_sim/maf/batches/glance_batch.py +++ b/rubin_sim/maf/batches/glance_batch.py @@ -175,8 +175,8 @@ def glanceBatch( ) bundle_list.append(bundle) - sql = "note like '%neo%'" - metric = metrics.CountMetric(colmap["mjd"], metric_name="Nvisits twilight neo") + sql = "note like '%neo%' or note like '%near_sun%'" + metric = metrics.CountMetric(colmap["mjd"], metric_name="Nvisits twilight near sun") bundle = metric_bundles.MetricBundle( metric, slicer, @@ -282,7 +282,7 @@ def glanceBatch( bundle_list.append(bundle) # Make a cumulative plot of a WFD spot - sql = "note not like '%NEO%'" + sql = "note not like '%NEO%' and note not like '%near_sun%'" uslicer = slicers.UserPointsSlicer(ra=0, dec=-20) metric = metrics.CumulativeMetric() metricb = metric_bundles.MetricBundle(