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

Establish testing test_final.py #41

Closed FelixTheilen closed 1 year ago

FelixTheilen commented 1 year ago

This pull request addresses the issue establish testing #7 .

A segment of Ares is imported. A ParameterBeam and a ParticleBeam are sent through the segment. The outcome is compared to the supposed outcome.

Note: This test will always fail, as long as the pull request #38 Conversion Error is not implemented.

jank324 commented 1 year ago

@FelixTheilen there are some tests that fail on this pull request, do you know why?