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 75908ab commit dbc05a9Copy full SHA for dbc05a9
deeptrack/aberrations.py
@@ -63,7 +63,7 @@ def get(self, pupil, rho=None, theta=None, n=None, m=None, coefficient=None, **k
63
continue
64
65
R = 0
66
- for k in range((n - np.abs(m)) // 2):
+ for k in range((n - np.abs(m)) // 2 + 1):
67
R += ((-1) ** k * np.math.factorial(n - k) / (np.math.factorial(k) *
68
np.math.factorial((n - m) // 2 - k) * np.math.factorial((n + m) // 2 - k)) *
69
rho**(n - 2*k))
0 commit comments