Skip to content

Conversation

@SebastienJoly
Copy link
Collaborator

One bug fix and one improvement when dealing with the calculation of ORM.

Correction of a bug fix in the response_model.SCgetModelRING function where the elements from the original SC.RING PolynomB[0] is set to zero. This is caused by the mutable nature of SC.RING[ord].SetPointA. It can be avoided with a deepcopy. The bug was observed after all my elements with embedded CM lost their corrector strengths after using the response_model.SCgetModelRING function.

Improvement of the loco.measure_closed_orbit_response_matrix function where the CM setpoints are reverted back to their initial value instead of applying the opposite dkick. If the dkick leads the CM strength to exceed its maximum value specified in its CMlimit attribute, computing the measured ORM changes some CM strengths.

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.

2 participants