We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The TransverseDeflectingCavity fails to track with vectorized phase or frequency. The following example code will crash in the final line.
TransverseDeflectingCavity
phase
frequency
incoming = cheetah.ParticleBeam.from_parameters( num_particles=100_000, energy=torch.tensor([154e6, 14e9]) ) element = cheetah.TransverseDeflectingCavity( length=torch.tensor(1.0), phase=torch.tensor([[0.6], [0.5], [0.4]]), ) outgoing = element.track(incoming)
The text was updated successfully, but these errors were encountered:
Relevant for #165
Sorry, something went wrong.
v0.7
Successfully merging a pull request may close this issue.
The
TransverseDeflectingCavity
fails to track with vectorizedphase
orfrequency
. The following example code will crash in the final line.The text was updated successfully, but these errors were encountered: