-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #317 from lsst/tickets/DM-25849
DM-25849: Update HSC to use jointcal refcat defaults
- Loading branch information
Showing
2 changed files
with
8 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.