Skip to content

Commit

Permalink
Update tests with correct refcat numbers
Browse files Browse the repository at this point in the history
Now that the center and radius math is fixed, some of  the numbers of
loaded reference sources are slightly different (and more correct!).
  • Loading branch information
parejkoj committed May 22, 2019
1 parent 160bf4e commit d8bbf6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions tests/test_jointcal_cfht.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def test_jointcalTask_2_visits(self):
# See Readme for an explanation of these empirical values.
dist_rms_relative = 11e-3*u.arcsecond
pa1 = 0.014
metrics = {'collected_astrometry_refStars': 1767,
'collected_photometry_refStars': 1767,
metrics = {'collected_astrometry_refStars': 1770,
'collected_photometry_refStars': 1770,
'selected_astrometry_refStars': 747,
'selected_photometry_refStars': 747,
'associated_astrometry_fittedStars': 2269,
Expand Down Expand Up @@ -118,7 +118,7 @@ def setup_jointcalTask_2_visits_constrainedAstrometry(self):

# See Readme for an explanation of these empirical values.
dist_rms_relative = 12e-3*u.arcsecond
metrics = {'collected_astrometry_refStars': 1767,
metrics = {'collected_astrometry_refStars': 1770,
'selected_astrometry_refStars': 747,
'associated_astrometry_fittedStars': 2269,
'selected_astrometry_fittedStars': 1408,
Expand Down Expand Up @@ -186,7 +186,7 @@ def setup_jointcalTask_2_visits_constrainedPhotometry(self):

# See Readme for an explanation of these empirical values.
pa1 = 0.017
metrics = {'collected_photometry_refStars': 1767,
metrics = {'collected_photometry_refStars': 1770,
'selected_photometry_refStars': 747,
'associated_photometry_fittedStars': 2269,
'selected_photometry_fittedStars': 1408,
Expand Down
1 change: 1 addition & 0 deletions tests/test_jointcal_cfht_minimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

import jointcalTestBase
from lsst.jointcal import jointcal
import lsst.jointcal.testUtils


# for MemoryTestCase
Expand Down
6 changes: 3 additions & 3 deletions tests/test_jointcal_decam.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_jointcalTask_2_visits(self):
# those are rejected for photometric calibration, but not astrometric.
relative_error = 19e-3*u.arcsecond
pa1 = 0.14
metrics = {'collected_astrometry_refStars': 8869,
'collected_photometry_refStars': 8858,
metrics = {'collected_astrometry_refStars': 8871,
'collected_photometry_refStars': 8860,
'selected_astrometry_refStars': 1604,
'selected_photometry_refStars': 1604,
'associated_astrometry_fittedStars': 6749,
Expand Down Expand Up @@ -112,7 +112,7 @@ def setup_jointcalTask_2_visits_constrainedAstrometry_no_photometry(self):
# See Readme for an explanation of these empirical values.
relative_error = 17e-3*u.arcsecond
pa1 = None
metrics = {'collected_astrometry_refStars': 8869,
metrics = {'collected_astrometry_refStars': 8871,
'selected_astrometry_refStars': 1604,
'associated_astrometry_fittedStars': 6749,
'selected_astrometry_fittedStars': 2709,
Expand Down

0 comments on commit d8bbf6e

Please sign in to comment.