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
33 stars 13 forks source link

Growing size of `accelerator.py` #152

Closed jank324 closed 4 months ago

jank324 commented 4 months ago

We are getting to the point where accelerator.py is getting quite large and it might soon make sense to split it into separate files. This is the place to discuss how to best go about that.

jp-ga commented 4 months ago

My advice would be to create an elements sub-package with separate sub-modules for each element