Closed laujason122 closed 1 year ago
What version of prysm are you using? The current commit on master does not crash from the same code, and zernike_nm
has not been changed in several years. I don't think scipy is used in any way at all when computing Zernike polynomials, too
>>> from prysm.polynomials import zernike_nm
>>> import numpy as np
>>> r = np.array([0,0.5,1])
>>> t = np.array([0,0.5,1])
>>> zernike_nm(1, 1, r, t, norm=True)
array([0. , 0.87758256, 1.08060461])
inactive, not reproducible
Excepting the following lines of code: returns the following errors:
Returns the following error in [scipy\special_orthogonal.py:130]: