opticspy / lightpipes

LightPipes for Python, "Pure Python version"
https://opticspy.github.io/lightpipes/
BSD 3-Clause "New" or "Revised" License
227 stars 52 forks source link

Correct order of args to ZernikeFit call in ZernikeFilter #81

Open TAU-Reinier opened 8 months ago

TAU-Reinier commented 8 months ago

ZernikeFilter(F, j_terms, R) fails because it calls ZernikeFit(j_terms, R, F, norm=True, units='rad'). This has the old-style arguments order, and ZernikeFit doesn't seem to accept new-style argument order.