issues
search
ChristopherMayes
/
openPMD-beamphysics
Tools for analyzing and viewing particle data in the openPMD standard, extension beamphysics.
https://christophermayes.github.io/openPMD-beamphysics/
Apache License 2.0
17
stars
15
forks
source link
FIX: address np.string_ and ndarray.ptp deprecations in numpy 2.0
#62
Closed
ken-lauer
closed
5 months ago
ken-lauer
commented
5 months ago
Changes
np.string_
recommends changing to
np.bytes_
ndarray.ptp()
->
np.ptp(ndarray)
Context
numpy 2.0
Changes
np.string_
recommends changing tonp.bytes_
ndarray.ptp()
->np.ptp(ndarray)
Context
numpy 2.0