Xtrack version 0.96.1
Changes:
- Miscellanous fixes in the native madloader #715
- Updated the MAD-X parser to allow element names to be strings or identifiers throughout sequences, lines, and commands, and to support line continuations with
&. This makes parsing compatible with a wider range of MAD-X inputs. - Align aperture loading with MAD-X: if no
apertypeis specified, it now defaults to'circle'. - Removed the ability to specify apertures as standalone elements, as this was never a feature of MAD-X itself.
- Added some missing MAD-X element types as drifts.
- Updated the MAD-X parser to allow element names to be strings or identifiers throughout sequences, lines, and commands, and to support line continuations with
- Refactored thick and thin element insertion methods in
xtrack/line.pyto use the newplaceandinsertAPIs, simplifying the code and making element placement more robust and maintainable. - Fixed typos in error messages for several
Linemethods #719 - Added backward compatibility for element shifts by accepting both
shift_xand_shift_x(and similarly forshift_yandshift_s) inxtrack/base_element.py, ensuring legacy element dictionaries can be loaded without errors #720 - Fixed bug in tests #717
- Implemented an ACDipole element #660
Full Changelog: v0.96.0...v0.96.1