Commit 47a3d5d5 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

fix the value used for pixel_scale in test_focalplane.py

parent d649c1e7
Pipeline #4396 passed with stage
in 0 seconds
......@@ -20,12 +20,12 @@ class TestFocalPlane(unittest.TestCase):
def test_fp_method(self):
wcs = self.focal_plane.getTanWCS(
192.8595, 0., 0.*galsim.degrees, 0.0074)
192.8595, 0., 0.*galsim.degrees, 0.074)
sky_coverage = self.focal_plane.getSkyCoverage(
wcs, x0=-1, x1=0, y0=-1, y1=0)
print(sky_coverage.area())
self.assertTrue(abs(sky_coverage.area() - 0.0074**2/(3600.**2)) < 1e13)
self.assertTrue(abs(sky_coverage.area() - 0.074**2/(3600.**2)) < 1e13)
if __name__ == '__main_':
if __name__ == '__main__':
unittest.main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment