Skip to content

Conversation

@cc97nitu
Copy link
Contributor

Extended rms beamsize calculation by an estimate for geometric abberations only.
Added a parameter to specify the highest map order to be taken into account.
Added a convenience function to return geometric and dispersive beamsize order-by-order.

…tions only.

Added a parameter to specify the highest map order to be taken into account.
Added a convenience function to return geometric and dispersive beamsize order-by-order.
@ldeniau ldeniau self-requested a review February 12, 2026 11:43
@ldeniau ldeniau self-assigned this Feb 12, 2026
Copy link
Contributor

@ldeniau ldeniau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importing mtable is unnecessary since the object modules (including mtable) are loaded after the physics module. That’s why MAD.mtable must be used inside the function.

Regarding the physics part, I only notice an additional sqrt, which could just as well be handled on the user side. That said, it’s acceptable.

I’ll merge the PR, but I plan to apply a few adjustments afterward.

@ldeniau ldeniau merged commit af4a85e into MethodicalAcceleratorDesign:dev Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants