Skip to content
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

matlab atlinopt4 check on 6d is disabled #788

Closed
oscarxblanco opened this issue Jun 21, 2024 · 0 comments
Closed

matlab atlinopt4 check on 6d is disabled #788

oscarxblanco opened this issue Jun 21, 2024 · 0 comments

Comments

@oscarxblanco
Copy link
Contributor

Dear all,

the function atlinopt4 does the calculation without checking if the pass methods are 6d or 4d. The obsolete function check_radiation is commented and was not replaced.

%check_radiation(ring,false);

This is a problem because the closed orbit changes, and it produces an effect on the optics.
I propose to set a warning if the lattice is 6d.

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

No branches or pull requests

1 participant