Extraction data multi-bunch
Posted: 05 Apr 2022, 08:42
Dear moderators,
I am trying to simulate a multi-bunch. I used this:
&sdds_beam
input = "distr_matched_ok.sdds",
input_type = "elegant",
center_arrival_time = 1,
sample_interval = 5,
reuse_bunch = 0,
fiducialization_bunch = 0, !I phase with respect to the first bunch
n_duplicates = 1, ! I duplicate once
duplicate_stagger[4] = 1e-12, !time distance among two subsequent bunches 3.5714e-10, but for test I put a small value to use the wakefield file I have
duplicate_stagger[1] = 20e-6, ! artificially added to check the plot of the centroid
track_pages_separately = 0,
use_bunched_mode = 1,
&end
and I saw several bunches when I plot the .out space. I would like to know how I can extract the data for each single bunch. I guessed that there were in several pages, so I tried to use -fromPage -toPage, but clearly I was wrong.
When I plot the centroid (I added an offset just to see), I plot I think an average of the two bunches.
How should I do?
I am using Elegant on a cluster, and I do not have generateBunch installed.
Thanks in advance for any suggestion.
I am trying to simulate a multi-bunch. I used this:
&sdds_beam
input = "distr_matched_ok.sdds",
input_type = "elegant",
center_arrival_time = 1,
sample_interval = 5,
reuse_bunch = 0,
fiducialization_bunch = 0, !I phase with respect to the first bunch
n_duplicates = 1, ! I duplicate once
duplicate_stagger[4] = 1e-12, !time distance among two subsequent bunches 3.5714e-10, but for test I put a small value to use the wakefield file I have
duplicate_stagger[1] = 20e-6, ! artificially added to check the plot of the centroid
track_pages_separately = 0,
use_bunched_mode = 1,
&end
and I saw several bunches when I plot the .out space. I would like to know how I can extract the data for each single bunch. I guessed that there were in several pages, so I tried to use -fromPage -toPage, but clearly I was wrong.
When I plot the centroid (I added an offset just to see), I plot I think an average of the two bunches.
How should I do?
I am using Elegant on a cluster, and I do not have generateBunch installed.
Thanks in advance for any suggestion.