Skip to content

Commit

Permalink
Merge pull request #317 from lsst/tickets/DM-25849
Browse files Browse the repository at this point in the history
DM-25849: Update HSC to use jointcal refcat defaults
  • Loading branch information
parejkoj committed Dec 8, 2020
2 parents df220c6 + cc384e0 commit ee10c4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
16 changes: 8 additions & 8 deletions config/hsc/jointcal.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import os.path

# `load()` appends to the filterMaps: we need them to be empty, so that only
# the specified filter mappings are used.
# `load()` appends to the filterMaps: we need them to be empty for HSC, so that
# only the specified filter mappings are used.
config.photometryRefObjLoader.filterMap = {}
config.astrometryRefObjLoader.filterMap = {}
filterMapFile = os.path.join(os.path.dirname(__file__), "filterMap.py")
config.photometryRefObjLoader.load(filterMapFile)
config.astrometryRefObjLoader.load(filterMapFile)
# jointcal default is for Gaia DR2, so we need to clear `anyFilterMapsToThis`.
config.astrometryRefObjLoader.anyFilterMapsToThis = None

# We have PS1 colorterms for HSC.
config.applyColorTerms = True

config.colorterms.load(os.path.join(os.path.dirname(__file__), "colorterms.py"))

# HSC needs a higher order polynomial to track the steepness of the optical
# distortions along the edge of the field. Emperically, this provides a
# measurably better fit than the default order=5.
config.astrometryVisitOrder = 7
14 changes: 0 additions & 14 deletions config/jointcal.py

This file was deleted.

0 comments on commit ee10c4c

Please sign in to comment.