You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, we cannot read or visualize the momentum (u(x|y|z)) record of particle species that do not write mass as well.
openpmd_viewer/openpmd_timeseries/data_reader/io_reader/particle_reader.py in read_species_data(series, iteration, species_name, component_name, extensions)
95 if np.all( m != 0 ):
96 norm_factor = 1. / (m * constants.c)
---> 97 data *= norm_factor
98
99
ValueError: operands could not be broadcast together with shapes (265489,) (0,) (265489,)
Just documenting this so we don't forget.
At the moment, we cannot read or visualize the momentum (
u(x|y|z)
) record of particle species that do not writemass
as well.Related:
The text was updated successfully, but these errors were encountered: