PySpectrometer2 icon indicating copy to clipboard operation
PySpectrometer2 copied to clipboard

np.int deprecated in bookworm

Open macckone opened this issue 1 year ago • 0 comments

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))

macckone avatar Nov 07 '23 19:11 macckone