Hi folks,
Maybe there's something obvious I'm missing, but I haven't been able to find a way to automatize the scanning of parameters of a @bunched_beam the way you can scan for example the strength of a magnet with @vary_element; in my application I want to scan the angular centroids in x and y.
Is there a simple way to do this?
Best regards,
Jonas Björklund Svensson
Scanning parameters of a bunched_beam
Moderators: cyao, michael_borland
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Scanning parameters of a bunched_beam
Jonas,
If you want to scan the initial centroids, you can insert a MALIGN element at the start of the beamline and vary the DX, DXP, DY, DYP parameters.
--Michael
If you want to scan the initial centroids, you can insert a MALIGN element at the start of the beamline and vary the DX, DXP, DY, DYP parameters.
--Michael
Re: Scanning parameters of a bunched_beam
Hi Michael,
That is indeed such a simple solution that I'm looking for, thanks! I had totally missed that element.
EDIT:
Follow-up question: can I use the vary_element function to perform a 2D scan, of dxp and dyp in this case?
- Jonas
That is indeed such a simple solution that I'm looking for, thanks! I had totally missed that element.
EDIT:
Follow-up question: can I use the vary_element function to perform a 2D scan, of dxp and dyp in this case?
- Jonas