Added initial support for data in cylindrical geometry.
Fields in 3D Cartesian geometry are now always returned with [x, y, z] axis order. If the original data has a different order, then the axes are rearranged with np.moveaxis.
FolderField and ParticleSpecies now have a direct mapping between time steps (iterations) and data files.
The axes arrays in field metadata used to have one more element than they should. This has now been fixed.
Other bug fixes.
Updated README.md with new installation instructions.
This PR updates VisualPIC to take advantage of the new features in the latest openPMD-viewer.
Changes
DataReader
in openPMD-viewer, which simplifies the implementation in VisualPIC.DataReader
(either'h5py'
or'openpmd-api'
) can be manually specified when creating theDataContainer
.np.moveaxis
.FolderField
andParticleSpecies
now have a direct mapping between time steps (iterations) and data files.