Skip to content

Commit

Permalink
Set mag limits for refcat loading in LSSTComCamSim
Browse files Browse the repository at this point in the history
These have been selected to more than span the expected magnitude
range for the icSrc catalog sources (those available for the
calibrations).  Loading in reference sources outside of this range
is undesirable for a few reasons, including wasting time on objects
that are not acutally in contention for matcing and, more importantly,
leaving a danger of the fit getting "lost" by locking onto the
"superfluous" reference catalog objects (we saw this happen in
photoCal for 3 of 25935 dataIds in the first round Ops Rehearsal 3
dataset).
  • Loading branch information
laurenam committed Mar 6, 2024
1 parent 013f56b commit 9c46e47
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/comCamSim/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@
config.photoRefObjLoader.load(os.path.join(configDir, "filterMap.py"))
config.astromRefObjLoader.anyFilterMapsToThis = None
config.photoRefObjLoader.anyFilterMapsToThis = None

config.astrometry.referenceSelector.doMagLimit = True
config.astrometry.referenceSelector.magLimit.fluxField = "lsst_r_flux"
config.astrometry.referenceSelector.magLimit.minimum = 14.0
config.astrometry.referenceSelector.magLimit.maximum = 22.0

config.photoCal.match.referenceSelection.doMagLimit = True
config.photoCal.match.referenceSelection.magLimit.fluxField = "lsst_r_flux"
config.photoCal.match.referenceSelection.magLimit.minimum = 14.0
config.photoCal.match.referenceSelection.magLimit.maximum = 22.0

0 comments on commit 9c46e47

Please sign in to comment.