Page 1 of 2

Column 41 in partran1.out file

Posted: Tue 20 Feb 2024 13:50
by shliu
Dear Didier,

I noticed column 41 in partran1.out file is not the value described in the instruction.

Column 39: Norm. RMS emit_z_dp/p
Column 40: RMS z
Column 41: szdp? What is it?
Column 42/43: H/V disperison

And could you please add a column named RMS z' or RMS dp/p? Such that beam twiss parameters could be calculated.

Kinds,
shliu

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 11:21
by Didier
Dear shliu,

I've updated the TraceWin manual for the partran.out file because 2 columns were missing and the description of the other columns wasn't very clear.
Finally, I explain how to recover missing values such as RMS z' or RMS dp/p?

Regards,

Didier

https://dacm-codes.fr/Softwares/TraceWi ... d_Toutatis

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 11:53
by shliu
Dear Didier,

Thank you for the explanation.

What does it mean by "<z.dp/p>(mm.%)"? It seems not σ_φ*σ_dp/p.

Kinds,
shliu

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 11:56
by shliu
Sorry for the typo. I mean it isn't σ_z*σ_dp/p.

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 13:04
by Didier
This is the average of (z x dp/p) , It's σz.dp/p.

Regards,

Didier

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 13:44
by shliu
If my understanding is correct, they are different in .dst and partran1.out.

The same project file as that in the last post:

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 13:47
by shliu
At the output, σ_z= 6.0138 mm, σ_dp/p=0.0542 %. Then <z.dp/p>(mm.%)=6.0138 * 0.0542=0.3259.

But it is 0.2582859 In column 41.

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 13:55
by Didier
∑(a.b) is not egal to ∑(a).∑(b)

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 15:18
by shliu
Then how to get σ_dp/p, or σ_z', or σ_E?

I mean there's only e_z and σ_z in partran1.out, and beam twiss parameter γ could not be identified.

Re: Column 41 in partran1.out file

Posted: Wed 21 Feb 2024 16:59
by Didier
Dear shliu,

In the new manual (you have to upgrade you code) you have the way explaining to get σ_dp/p from parameter of partran.out file.
Chapter : "Partran and Toutatis output"
When you get it, you get the 4 term of the matrix Z.dp/p so, all Twiss parameter can be deducee aisily (see manual for formula)
In addition, in the manual you will also find all the formulas for going from dp/p to z' or W or from Z->P.
See chapter : "Conversions between [z-z’], [z-δ] and [Δφ-ΔW] phase planes"

Regards,

Didier