I am trying to output turn-by-turn data at BPMs from Elegant multi-pass tracking. I added the following two inputs in the run_setup:
centroid=test.cen
wrap_around=0
However Elegant outputs the centroid information at every element and tracking becomes very slow.
Is there a faster way to output the position (Cx) at the BPM locations only? The information is sufficient for comparison to the actual machine output.
Thanks a bunch,
Weiming
Turn-by-turn data output
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Turn-by-turn data output
Weiming,
The best way is using WATCH elements, which you can insert after each BPM element using the insert_elements command:
This will create a file for each BPM with a name like <rootname>-0000.sdds. The file has the location and name of the previous element as parameters, so you can use SDDS tools to regroup the data into trajectories.
--Michael
The best way is using WATCH elements, which you can insert after each BPM element using the insert_elements command:
Code: Select all
&insert_elements
name = *,
type = MONI,
element_def = "wbpm: watch,filename=\"%s-%04ld.sdds\",mode=\"centroid\""
&end
--Michael
Re: Turn-by-turn data output
Michael,
Thanks for the quick reply!
Weiming
Thanks for the quick reply!
Weiming