leswright1977 / PySpectrometer2

The Second Incarnation of the Spectrometer project!
Apache License 2.0
204 stars 24 forks source link

np.int deprecated in bookworm #15

Open macckone opened 8 months ago

macckone commented 8 months ago

np.int is deprecated in bookworm which uses a newer version of numpy. we must use np.int32 or np.int64 in specFunctions.py

The following fixes it in my install:

127,128c127,128 \< window_size = np.abs(np.int32(window_size)) \< order = np.abs(np.int32(order)) --- > window_size = np.abs(np.int(window_size)) > order = np.abs(np.int(order))