Closed egemenimre closed 2 days ago
np.bool
exists only in spider
and this should fix the issue:
mask = np.zeros(x.shape, dtype=bool)
instead of the current
mask = np.zeros(x.shape, dtype=np.bool)
This one was fixed quite a long time ago (December 2022) in 93cb41681651e35c564b760408d5d01280f8f7c6 -- I am not exactly sure when I will go through the process of making the next formal release, but the code is stable on the master branch if you want to use that directly. Just waiting on a few things to get finished before making a new release (notably, polynomials/laguerre.py
)
I'm trying the HST example in the Notable Telescope Apertures.
I simply copied all the code in it. I get an error at the line defining
spider
. It looks likenp.bool
has been deprecated by numpy.