Skip to content

Commit

Permalink
Add band-specific number of nodes to comcam spline measurement.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Dec 14, 2024
1 parent ee3fa10 commit c69ec80
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions python/lsst/the/monster/measure_colorterms.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,16 @@ class ComCamSplineMeasurer(SplineMeasurer):

target_selection_band = "r"

def n_nodes(self, band=None):
if band in [None, "g", "r", "i", "z"]:
return 10
elif band in ["y"]:
return 7
elif band in ["u"]:
return 5

return 10

def custom_target_catalog_reader(self):
"""Specialized reader for calibration stars from DRP processing
(embargoed).
Expand Down

0 comments on commit c69ec80

Please sign in to comment.