soft-matter / trackpy

Python particle tracking toolkit
http://soft-matter.github.io/trackpy
Other
445 stars 131 forks source link

Fix Numpy 1.20 and scipy 1.5 deprecationwarnings #641

Closed caspervdw closed 3 years ago

caspervdw commented 3 years ago

Ref. https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated

np.int is identical to the builtin int. I didn't want to change too much so that is what I replaced. Same story for np.float and np.bool (and a few other dtypes, but they did not occur in trackpy)

caspervdw commented 3 years ago

I am going to self-merge this, because there is just maintenance stuff in here.

nkeim commented 3 years ago

Thanks @caspervdw !