Skip to content

Commit

Permalink
Merge pull request #10 from lsst/tickets/DM-11395
Browse files Browse the repository at this point in the history
DM-11395: Update to use testdata_jointcal's HTM Index refcats
  • Loading branch information
parejkoj committed Feb 1, 2019
2 parents 9599c57 + 24bbc15 commit 9fa636c
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit 9fa636c

Please sign in to comment.