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

Monitor Helper: Add every ds & Slice Elements #537

Open
ax3l opened this issue Feb 27, 2024 · 0 comments
Open

Monitor Helper: Add every ds & Slice Elements #537

ax3l opened this issue Feb 27, 2024 · 0 comments
Assignees
Labels
component: elements Elements/external fields

Comments

@ax3l
Copy link
Member

ax3l commented Feb 27, 2024

Phase space animation: we need a convenient way to add a monitor every `ds

  • in an s interval between [a;b], dump N times equally spaced in ds
  • For general animation of the beam evolution.

Implementation ideas:

  • Add a helper function to add monitors into a lattice with inputs given above.
  • Details: sort and add thin monitor elements.
  • Details: find if the requested position slices an element. Slice it up into multiple elements if hit.
  • We should even be able to implement this in C++, not only Python.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: elements Elements/external fields
Projects
None yet
Development

No branches or pull requests

1 participant