spacetelescope/pysiaf

Fix Numpy Alias Warnings

Witchblade101 opened this issue · 1 comments

The pytest output for our tests are overwhelmed with warnings about the deprecation of np.int and np.float as aliases for builtin int and float. The change in Numpy is documented in https://numpy.org/devdocs/release/1.20.0-notes.html .

I suggest we change np.int to np.int64 and np.float to np.float64, unless there's a strong reason to have 32bit support.

aperture.py already specifies 64-bit ints and floats, so I'll change everything else to match.