Skip to content

Commit

Permalink
tweak metrics for sorted dataRefs
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Feb 16, 2017
1 parent af033b3 commit 6fde126
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tests/test_jointcal_hsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_jointcalTask_2_visits(self):
'astrometryFinalChi2': 691.12,
'astrometryFinalNdof': 1858,
'photometryFinalChi2': 3753.82,
'photometryFinalNdof': 502
'photometryFinalNdof': 504
}
self._testJointcalTask(2, dist_rms_relative, dist_rms_absolute, pa1, metrics=metrics)

Expand All @@ -95,7 +95,7 @@ def test_jointcalTask_11_visits(self):
'astrometryFinalChi2': 7929.656,
'astrometryFinalNdof': 14262,
'photometryFinalChi2': 16773556.5,
'photometryFinalNdof': 6568
'photometryFinalNdof': 6569
}
self._testJointcalTask(11, dist_rms_relative, dist_rms_absolute, pa1, metrics=metrics)

Expand All @@ -109,7 +109,7 @@ def testJointcalTask_2_visits_no_astrometry(self):
'selectedPhotometryFittedStars': 770,
'selectedPhotometryCcdImageList': 6,
'photometryFinalChi2': 3753.82,
'photometryFinalNdof': 502
'photometryFinalNdof': 504
}

self.config = lsst.jointcal.jointcal.JointcalConfig()
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_jointcalTask_2_visits_gaia_refcat(self):
'astrometryFinalChi2': 435.01995,
'astrometryFinalNdof': 1412,
'photometryFinalChi2': 3753.82,
'photometryFinalNdof': 502
'photometryFinalNdof': 504
}
# NOTE: The astrometry/photometry tests are computed using the a.net SDSS refcat,
# so the absolute astrometry RMS will be larger (because GAIA is better, so
Expand Down
8 changes: 4 additions & 4 deletions tests/test_jointcal_lsstSim.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ def testJointcalTask_10_visits(self):
'selectedPhotometryRefStars': 1686,
'associatedAstrometryFittedStars': 1823,
'associatedPhotometryFittedStars': 1823,
'selectedAstrometryFittedStars': 1507,
'selectedPhotometryFittedStars': 1507,
'selectedAstrometryFittedStars': 1506,
'selectedPhotometryFittedStars': 1506,
'selectedAstrometryCcdImageList': 10,
'selectedPhotometryCcdImageList': 10,
'astrometryFinalChi2': 7263.221,
'astrometryFinalNdof': 18262,
'astrometryFinalChi2': 7262.2075,
'astrometryFinalNdof': 18260,
'photometryFinalChi2': 35321.947,
'photometryFinalNdof': 9141
}
Expand Down

0 comments on commit 6fde126

Please sign in to comment.