Commit 432a2d33 authored by rfetick's avatar rfetick
Browse files

Minor update

parent 6be995e1
......@@ -105,7 +105,7 @@ class TestPsfao(unittest.TestCase):
npix = 1024
samp = 2.0
P = Psfao((npix,npix),system=ZIMPOL,samp=samp)
r0 = 0.15
r0 = 0.25
C = 1e-4
A = 1.0
ax = 0.05
......@@ -114,7 +114,8 @@ class TestPsfao(unittest.TestCase):
beta = 1.5
otf = P.otf([r0,C,A,ax,ay,theta,beta])
mtf = np.max(np.abs(otf))
self.assertEqual(mtf,1.0)
self.assertAlmostEqual(mtf,1.0,delta=1e-2)
self.assertLessEqual(mtf,1.0)
......
No preview for this file type
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