This pull request is adressing issue https://github.com/desy-ml/cheetah/issues/7.
This file is implementing the calculations done in the testless.ipynb file using pytest. This makes it a lot easier to run the test, as no manual comparison of the results is needed.
The following abilities are tested:
-mu of a ParameterBeam
-mean of a ParticleBeam
-cov of a ParameterBeam
-cov of a ParticleBeam
-use of a segment on a beam
-use of a HorizontalCorrector
This pull request is adressing issue https://github.com/desy-ml/cheetah/issues/7. This file is implementing the calculations done in the testless.ipynb file using pytest. This makes it a lot easier to run the test, as no manual comparison of the results is needed.
The following abilities are tested: -mu of a
ParameterBeam
-mean of aParticleBeam
-cov of aParameterBeam
-cov of aParticleBeam
-use of asegment
on a beam -use of aHorizontalCorrector