desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
27 stars 12 forks source link

150 fix cavity tracking #151

Closed jp-ga closed 2 months ago

jp-ga commented 2 months ago

Description

_track_beam in Cavity received ParticleBeam instead of Beam. Closes #150.

Motivation and Context

Types of changes

Checklist

Note: We are using a maximum length of 88 characters per line