Skip to content

Commit

Permalink
Add n_particle to units
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherMayes committed Jun 12, 2022
1 parent 8c298f1 commit c7beed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmd_beamphysics/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def nice_array(a):
# Units for ParticleGroup

PARTICLEGROUP_UNITS = {}
for k in ['status']:
for k in ['n_particle', 'status']:
PARTICLEGROUP_UNITS[k] = unit('1')
for k in ['t']:
PARTICLEGROUP_UNITS[k] = unit('s')
Expand Down

0 comments on commit c7beed2

Please sign in to comment.