-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from PyCOMPLETE/hotfix/detuning-corrected
Hotfix: detuners did not use relative phase advances accQ_x, accQ_y. This hotfix makes the detuners use the relative bare betatron phase advance per segment instead of the averaged segment_length. This is important if accQ_x and accQ_y in the TransverseMap during setup are not given as scalar values of the betatron tune (which ends in the smooth approximation) but instead are taken as varying arrays e.g. from real TWISS lattices. RFQ, Detuners and TransverseTrackings have been adapted in both Python and Cython versions. Also the tests have been adapted both in interactive-tests and unittests.
- Loading branch information
Showing
15 changed files
with
985 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
121 changes: 104 additions & 17 deletions
121
testing/interactive-tests/TransverseTrackingCythonTest.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
137 changes: 108 additions & 29 deletions
137
testing/interactive-tests/TransverseTrackingTest.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.