Skip to content

Commit

Permalink
update twilight neo name in glance batch
Browse files Browse the repository at this point in the history
  • Loading branch information
yoachim committed Jun 16, 2023
1 parent 1e48e39 commit ed4fb0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rubin_sim/maf/batches/glance_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit ed4fb0a

Please sign in to comment.