We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b52cce7 commit 9caa566Copy full SHA for 9caa566
tests/test_wavefront.py
@@ -67,7 +67,7 @@ def test_get_path_length(self):
67
w = wavefront.Wavefront(optic)
68
w._trace_chief_ray((0, 0), 0.55)
69
xc, yc, zc, R = w._get_reference_sphere(pupil_z=100)
70
- path_length = w._get_path_length(xc, yc, zc, R)
+ path_length = w._get_path_length(xc, yc, zc, R, 0.55)
71
assert np.allclose(path_length, np.array([34.84418309]))
72
73
def test_correct_tilt(self):
@@ -86,7 +86,7 @@ def test_opd_image_to_xp(self):
86
87
88
89
- t = w._opd_image_to_xp(xc, yc, zc, R)
+ t = w._opd_image_to_xp(xc, yc, zc, R, 0.55)
90
assert np.allclose(t, np.array([39.454938]))
91
92
0 commit comments