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

loader of MAD-X errors #60

Merged
merged 8 commits into from
Oct 29, 2020
Merged

Conversation

roman-martin
Copy link

This PR changes the loader of MAD-X errors so it uses a new feature of cpymad that allows us to access element errors directly instead of saving them to a file in cpymad and then loading the file in pysixtrack.

Furthermore the function line.apply_madx_errors was made private and is now an option of line.from_madx_sequence. This way we fix #42 without taking the possibility to still manually load errors. Similarly the apply_xyz_error_to function were made private to "fix" #53 without needing any housekeeping of the misalignments.

@rdemaria rdemaria merged commit 8e1d432 into SixTrack:master Oct 29, 2020
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.

merge_consecutive_drifts() can prevent aperture misalignment
2 participants