Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts.get_particle( ['id'], species='beam') returns 0 #329

Open
ppiot opened this issue Dec 3, 2021 · 0 comments
Open

ts.get_particle( ['id'], species='beam') returns 0 #329

ppiot opened this issue Dec 3, 2021 · 0 comments

Comments

@ppiot
Copy link

ppiot commented Dec 3, 2021

All,
I am trying to follow particle given their ID but notice when loading the particle in openPMD all the IDs are set to zero; see screenshot below for my openPMD output. The simulation were performed with WARP where I save the particle as follows:

diag2 = ParticleDiagnostic( period=diag_period, top=top, w3d=w3d,
        species={species.name : species for species in listofallspecies},
        particle_data=["position","momentum","weighting","id"],
        comm_world=comm_world, lparallel_output=parallel_output,
        write_dir=diag_dir  )
installafterstep( diag2.write )

The other quantities (e.g. momentum and positions) are all working properly and can be read in openPMD.

Thank you,  -- Philippe.

Screenshot from 2021-12-03 11-25-51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant