Skip to content

Conversation

@lfarv
Copy link
Contributor

@lfarv lfarv commented Jan 21, 2026

This is an improvement of the processing of mad-style files: MAD-X, MAD8, Elegant.

The initial goal is to prepare for AT parameterisation of Elements. This is the last step before parameterisation, where MAD variables could be used as Element parameters like any native AT parameter. This implied significant internal modifications which turned beneficial even without the actual parameterisation. For instance a cleaner definition of the scope used for evaluation of MAD expressions, which is now distinct from the module scope. And a better efficiency.

The modifications only concern MAD-file processing, which I tested with my ~10 sample files. Feel free to test with yours, but nothing else in AT behaviour is concerned.

@lfarv lfarv added enhancement Python For python AT code labels Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Python For python AT code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants