jcalvey wrote: ↑09 Dec 2021, 13:53
tiansk wrote:When I use multi-bunch train beam fillings, the column Sy & Sx in the ebeam file are 1 for NULL bucket, so :
I'm not sure why you are getting any NULL/zero values here. Can you post the exact command you are using for makeBunchTrainWF, and your fill file?
Hi,Joe:
I may not have articulated my problem clearly,my question is that in the eBeam file,the column Sy & Sx in the ebeam are 1[m].so when I used the command:
sddsprocess ion1.ebeam ion1.ebeam.break -redefine=col,ampy,"Cy abs Sy /" -redefine=col,ampx,"Cx abs Sx /"
sddsprocess ion1.ebeam.break -process=ampy,max,ampyMax -redefine=param,iPass,Pass -process=ampx,max,ampxMax \
-process=ampx,rms,ampxRms -process=ampy,rms,ampyRms -process=Sy,rms,SyRms -process=Sx,rms,SxRms
sddsplot ion1.ebeam.break -param=iPass,ampyMax
sddsplot ion1.ebeam.break -param=iPass,SyRms
The image shows the beam reaching a size of nearly 1 [m].
PS:The beam filling pattern mode I just used is:0,12,24,36,......
I've used commands to get rid of unreasonable values: sddsprocess -filter=col,Sx,0,1e-4 ..... like that.
I have recently come across a new problem:
The script I used to generate the bunch train string is generateBunchTrain like:
generateBunchTrain -input makeBunch.out -output train1.sdds -patternString "63*12*1.0" -rfFrequency 166.6003e+06
generateBunchTrain -input bunch.sdds -output train2.sdds -patternString "63*12*1.0" -rfFrequency 166.6003e+06
while the makeBunch.out file was output by makeBunch.ele that in the ionEffects1 elegantExamples,I only change the twiss parameter and emittance,sigma_s,sigma_dp.
the bunch.sdds file was output by generateBunch script like:
filename='bunch.sdds'
number=1000
emitx=2.299882e-11
betax=8.175595265258400e+00
alphax=0
etax=-1.174409542493647e-06
etaxp=0
emity=2.299920e-11
betay=4.997205764112015e+00
alphay=0
etay=0
etayp=0
MeV=6e3
sigmaS=4.995083257770271e-03
sigmaDelta=1.013008570660093e-03
generateBunch -output $filename -number $number \
-xplane $emitx,$betax,$alphax,$etax,$etaxp \
-yplane $emity,$betay,$alphay,$etay,$etayp \
-zplane $MeV,$sigmaS,$sigmaDelta
I use sddsanalyzebeam command to analyse the two files(makeBunch.out & bunch.sdds),the emittance,twiss parameter are much the same.But I used the train1.sdds abd train2.sdds for ion_effect tracking respectively,the vertical amplitudes given are not quite consistent (You can check the attachment train1.bmp & train2.bmp).
With Regards
Tiansk