Skip to content

Response fixes - #1135

Open
swhite2401 wants to merge 2 commits into
masterfrom
response_fixes
Open

Response fixes#1135
swhite2401 wants to merge 2 commits into
masterfrom
response_fixes

Conversation

@swhite2401

Copy link
Copy Markdown
Contributor

This PR propose 2 minor improvement for the response matrix interface:

1-OrbitResponseMatrix presently works only with KickAngle that is not defined in magnets elements by default. The user therefore has to first modify the lattice to use this function, this is not good. When the steerers list is provided by the user the default is now to act on K[ns]0L that are always defined.
A flag is provided to restore the previous behaviour when steerers are provided, when they are not the present behavior (use all element having KickAngle defined) is preserved

2-A warning is added in the calculation of the deviation when the target is not provided, this allows the user to correctly diagnose problems when the .correct() function is ineffective (targets not defined)

@swhite2401
swhite2401 requested a review from lfarv August 25, 2026 10:59
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.

1 participant