This pull request addresses the issue establish testing #7 .
Every element in the accelerator.py file is tested, by applying this element on a parameter as well as a particle beam and comparing their outputs to the desired outputs. The Elements tested are:
-Quadrupole
-HorizontalCorrector
-VerticalCorrector
-Cavity
-BPM
-Screen
-Undulator
This pull request addresses the issue establish testing #7 .
Every element in the accelerator.py file is tested, by applying this element on a parameter as well as a particle beam and comparing their outputs to the desired outputs. The Elements tested are: -
Quadrupole
-HorizontalCorrector
-VerticalCorrector
-Cavity
-BPM
-Screen
-Undulator