Search found 90 matches

by Chinashliu
Wed 21 Feb 2024 11:56
Forum: TraceWin
Topic: Column 41 in partran1.out file
Replies: 10
Views: 312

Re: Column 41 in partran1.out file

Sorry for the typo. I mean it isn't σ_z*σ_dp/p.
by Chinashliu
Wed 21 Feb 2024 11:53
Forum: TraceWin
Topic: Column 41 in partran1.out file
Replies: 10
Views: 312

Re: Column 41 in partran1.out file

Dear Didier,

Thank you for the explanation.

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

Kinds,
shliu
by Chinashliu
Wed 21 Feb 2024 11:43
Forum: TraceWin
Topic: Can't extract energy from .dst file [SOLVED]
Replies: 20
Views: 8839

Re: Can't extract energy from .dst file [SOLVED]

Dear Didier,

I end it at z=0.1 m before the dipole. After the dipole, it would be different:

DRIFT 0 50
DRIFT 100 50

EDGE 0 500 100 1e-009 1e-009 50 0
BEND 45 500 0 50 0
EDGE 0 500 100 1e-009 1e-009 50 0

DRIFT 200 50
end


Kinds,
shliu
by Chinashliu
Tue 20 Feb 2024 21:17
Forum: TraceWin
Topic: Can't extract energy from .dst file [SOLVED]
Replies: 20
Views: 8839

Re: Can't extract energy from .dst file [SOLVED]

And σ_φ=7.0231 deg in .dst, while it is 7.022882 deg in partran1.out file.
by Chinashliu
Tue 20 Feb 2024 21:14
Forum: TraceWin
Topic: Can't extract energy from .dst file [SOLVED]
Replies: 20
Views: 8839

Re: Can't extract energy from .dst file [SOLVED]

I attached the project file.
Test.rar
(29.86 MiB) Downloaded 23 times
At the exit of the lattice, Norm. RMS emit_Φ_W is 0.0379 π.deg.MeV in .dst file, while it is 0.03785602 in partran1.out.

Kinds,
shliu
by Chinashliu
Tue 20 Feb 2024 21:01
Forum: TraceWin
Topic: How to use path_cal in batch command
Replies: 4
Views: 202

Re: How to use path_cal in batch command

Dear Didier,

I see. Thank you!

Kinds,
shliu
by Chinashliu
Tue 20 Feb 2024 17:30
Forum: TraceWin
Topic: How to use path_cal in batch command
Replies: 4
Views: 202

Re: How to use path_cal in batch command

Dear Didier,

Thank you very much! It works now.

And is there any differences between the two ways? Or what's the advantage of TraceW64 than TraceWin_noGUI? Faster for simple cases?

Kinds,
shliu
by Chinashliu
Tue 20 Feb 2024 14:25
Forum: TraceWin
Topic: How to use path_cal in batch command
Replies: 4
Views: 202

How to use path_cal in batch command

Dear Didier, I didn't manage to get the right calculation path in batch mode in python or matlab. Python: import os os.system('TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt') Matlab: cmd=['TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt']; system(cmd);...
by Chinashliu
Tue 20 Feb 2024 14:03
Forum: TraceWin
Topic: Can't extract energy from .dst file [SOLVED]
Replies: 20
Views: 8839

Re: Can't extract energy from .dst file [SOLVED]

Didier, I noticed the same promlem as Lihaipeng described: "Normalized emittance is really different. In my previous example, Emit Xx is 0.3730797 in partran1.out, but in the dst file,the Emit Xx is 0.3724123". The emittance is different in .dst file and partran1.out. The difference is quite small. ...
by Chinashliu
Tue 20 Feb 2024 13:50
Forum: TraceWin
Topic: Column 41 in partran1.out file
Replies: 10
Views: 312

Column 41 in partran1.out file

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...