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

Bunch propagation distance is lost when saving bunch to file #74

Open
TheresaBruemmer opened this issue Jun 27, 2022 · 0 comments
Open

Comments

@TheresaBruemmer
Copy link

When saving the bunch to file, the propagation distance info is lost. This is because wake_t.utilities.bunch_saving.save_bunch_to_file utilises ParticleBunch.get_bunch_matrix, where only the position in the xi plane is saved. So, you do not have any info on position in the beam line when reading bunch from file. I saw that there is get_openpmd_diagnostics_data in ParticleBunch class. Could this be used to save the data when saving to openpmd?

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