Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-11395: Update to use testdata_jointcal's HTM Index refcats #10

Merged
merged 1 commit into from
Feb 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions tests/test_fgcmcal_hsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
import lsst.utils
import lsst.pex.exceptions

from lsst.meas.extensions.astrometryNet import LoadAstrometryNetObjectsTask

import fgcmcalTestBase

import lsst.fgcmcal as fgcmcal
Expand Down Expand Up @@ -191,13 +189,13 @@ def test_fgcmcalTasks(self):
self.config.photoCal.colorterms.data['sdss*'].data['i'].c0 = 0.00130204
self.config.photoCal.colorterms.data['sdss*'].data['i'].c1 = -0.16922042
self.config.photoCal.colorterms.data['sdss*'].data['i'].c2 = -0.01374245
self.config.refObjLoader.retarget(target=LoadAstrometryNetObjectsTask)
self.config.refObjLoader.ref_dataset_name = "sdss-dr9-fink-v5b"

filterMapping = {'r': 'HSC-R', 'i': 'HSC-I'}
# These zeropoint offsets are empirical, and are there
# to check if changes in the code are altering the final
# output in a measurable way.
zpOffsets = np.array([-0.022274071351, 0.266693204641])
zpOffsets = np.array([-0.022274071351, 0.26665198802948])

self._testFgcmOutputProducts(visitDataRefName, ccdDataRefName,
filterMapping, zpOffsets,
Expand Down