Skip to content

Fix charge dependancy of qsad_fringe #377

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

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

jgray-19
Copy link
Contributor

@jgray-19 jgray-19 commented Aug 1, 2023

Performing an ng vs ng test reveals that for the map to be fully reversed when chg is reversed, f2 must also be multiplied

HOWEVER I am not sure if f2 should also be multiplied by lw. It is not in PTC (but it's also not multiplied by charge), so this needs to be reviewed.

@ldeniau
Copy link
Contributor

ldeniau commented Aug 1, 2023

Let's fix it to be compatible with PTC. A cross-check with the SAD manual could confirm or not the problem...

@ldeniau ldeniau marked this pull request as ready for review August 1, 2023 17:50
@ldeniau ldeniau merged commit 902b16a into MethodicalAcceleratorDesign:dev Aug 1, 2023
@jgray-19
Copy link
Contributor Author

jgray-19 commented Aug 1, 2023

Reviewing the SAD manual, it seems that compared to entry and exit, a is flipped sign, but b is not. So it looks like we are correct.
See https://www-kekb.kek.jp/Documentation/SAD/?Elements/QUAD#q=fringe for more detail

@jgray-19 jgray-19 deleted the fix_qsad branch August 1, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants