Closed AarynnCarter closed 1 year ago
This is a bug with poppy, line 423 in zernike.py should be:
(factorial(k) factorial(int((n + m) / 2) - k) factorial(int((n - m) / 2) - k)))
Alternatively, grab the corrected version from my personal poppy branch.
The following error appears for me when I try to calculate the contrast of the images. Seems like it's to do with the webbpsf / poppy dependency as opposed to the code itself.
This is with:
webbpsf = 1.0.0 poppy = 1.0.2
Haven't had a chance to dig into this in detail yet.