-
Notifications
You must be signed in to change notification settings - Fork 57
TPSA in Xsuite Matching (Interface to MAD-NG) #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…pport for full twiss matching (only without tpsa yet, coming soon)
|
Functionality is ready. Needs follow-up because new MAD-NG version breaks two tests that rely on calculating chromaticities, as phix/phiy in MAD-NG 1.1.8 changed by a factor 2. This can be found in this commit (MethodicalAcceleratorDesign/MAD-NG@5c87e03) @giadarol |
szymonlopaciuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, it's quite well structured and readable!
Some requests/comments/questions/suggestions for your consideration.
szymonlopaciuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good for me, just the little comment.
|
New MAD-NG Version has been released, the related tests pass now! We could now pin the new version and this is then mergeable @szymonlopaciuk |
Description
Implements MAD-NG TPSA Action to use MAD-NG tracked damaps to acquire optical parameters.
This pull request requires at least MAD-NG version 1.1.8. There is a discrepancy in the chromaticity calculation between MAD-NG version 1.1.7 and 1.1.8, where the
phixis by a factor 2 smaller in the new version. This seems to be a different convention(?). Needs a follow-up because this affects Ax/Bx/Ay/By functions which are then different between Xsuite and MAD-NG. For reference: MethodicalAcceleratorDesign/MAD-NG@5c87e03Given the revert from the chromaticity bug, this pull request should be shipped with MAD-NG version 1.1.9!
Important: Depends on xsuite/xdeps#106
Mandatory: