Replies: 3 comments
-
Dear @elafmusa , it seems correct as long as the number of For other cases it looks like it will run into errors. |
Beta Was this translation helpful? Give feedback.
-
Dear @oscarxblanco, Thank you for your response! Could you please clarify the differences between the approach I used and the one provided in the example below? Instead of: hor_ref_orbit = [ring[i].Offset[0] for i in bpm_ind] The alternative approach is: [elemdata0, beamdata, elemdata] = at.get_optics(ring0, quadrupoles_ind) Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
Dear @elafmusa , they are different. The first method is giving you two lists with the values of the offsets on the BPMs. Typically the BPM length is zero, so entry and exit faces are the same. The second one calculates the closed orbit and gives you the transverse (hor. and ver.) position of beam at the entry face of the quads. The closed orbit is calculated over Whether you want to call |
Beta Was this translation helpful? Give feedback.
-
Dear AT group,
For simulation i am working on, I want to attach BPMs to quadrupoles and assign horizontal and vertical displacement errors to some quadrupoles. The BPM indices are the quadrupole indices + 1 (following beam direction).
I would like to cross-check with you whether the approach I followed to define the new reference orbit after assigning the errors is correct and whether I made any mistakes:
The approach:
2-Assign hor. and vert. shift errors to some quadrupoles.
3-Assign quadrupole errors to the BPM offset field:
4-Obtain the new horizontal and vertical reference orbits:
Thank you in advance,
Beta Was this translation helpful? Give feedback.
All reactions