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
16
stars
15
forks
source link
FIX: address np.string_ and ndarray.ptp deprecations in numpy 2.0
#62
Closed
ken-lauer
closed
2 months ago
ken-lauer
commented
2 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