I am confused with the fact that why the beta function in Twiss_output and betaxBeam in .sig file are different.
Also I noticed that, from Sx, Sy, beam size is calculated with betaxBeam, not the beta in Twiss parameters.
In the elegant file setup, first I extracted Twiss parameters and emittance using astra2elegant and sddsanalyzebeam from ASTRA output file.
Then, I put these Twiss parameters into the Twiss_output setup. In this case, default order=2. (Even though I set the
default order to be 1, beta values of Twiss_output and the one in .sig file is still different.)
for example,
s (m) betax (m) betay (m)
1.498676e+01 8.014801e-01 9.208712e-01
1.513676e+01 9.293887e-01 1.012960e+00 ,
and,
s (m) betaxBeam (m) betayBeam (m)
1.498676e+01 8.225385e-01 9.195021e-01
1.513676e+01 9.361804e-01 1.021141e+00
Indeed I am wondering why the Twiss parameters calculated from the beam distribution (on tracking) is different from the
Twiss parameters obtained by Twiss_output, and wondering what the difference comes from.
And also I am wondering if I could safely say that the beam size (Sx, Sy) is still valid even if the betaxBeam / betayBeam
value is still different from the one obtained by Twiss_output. Plus if possible, is there a way to make the betaxBeam
to be same as the beta function in Twiss_output?
Thank you!

Seongyeol