@@ -54,10 +54,10 @@ def test_redmapper_randoms(self):
54
54
55
55
# The distribution was confirmed on a bigger set; this just wants a quick
56
56
# check that the numbers match
57
- testing .assert_array_almost_equal (rands .ra [: 3 ], [140.367948 , 140.291156 , 141.03190 ])
58
- testing .assert_array_almost_equal (rands .dec [: 3 ], [66.272433 , 66.013655 , 66.121244 ])
59
- testing .assert_array_almost_equal (rands .z [: 3 ], [0.090511 , 0.296007 , 0.365437 ])
60
- testing .assert_array_almost_equal (rands .Lambda [: 3 ], [24.473192 , 34.282143 , 25.60206 ])
57
+ testing .assert_array_almost_equal (rands .ra [: 3 ], [140.260907 , 140.920711 , 140.851056 ])
58
+ testing .assert_array_almost_equal (rands .dec [: 3 ], [65.888083 , 66.033431 , 65.936919 ])
59
+ testing .assert_array_almost_equal (rands .z [: 3 ], [0.221394 , 0.382162 , 0.39954 ])
60
+ testing .assert_array_almost_equal (rands .Lambda [: 3 ], [22.093416 , 35.16693 , 32.436287 ])
61
61
62
62
# Run the random points through the zmask code
63
63
rand_zmask = RunRandomsZmask (config )
@@ -85,7 +85,7 @@ def test_redmapper_randoms(self):
85
85
86
86
astr = Catalog .from_fits_file (wt_areafile )
87
87
testing .assert_array_less (- 0.0001 , astr .area )
88
- testing .assert_array_almost_equal (astr .area [100 : 103 ], [0.793 , 0.799 , 0.804 ], 3 )
88
+ testing .assert_array_almost_equal (astr .area [100 : 103 ], [0.992 , 0.987 , 0.982 ], 3 )
89
89
90
90
def setUp (self ):
91
91
self .test_dir = None
0 commit comments