Can't extract energy from .dst file [SOLVED]
Re: A bug in Tracewin? i need help
Dear Lihaipeng,
I don't observe these differences, but I don't have your project files, so I need them to understand what you are doing. So, please, attach your project files (*.ini,*.dat) and your part_dtl1.dst file here, so that I am able to put myself in the same conditions as you.
Regards,
Didier
I don't observe these differences, but I don't have your project files, so I need them to understand what you are doing. So, please, attach your project files (*.ini,*.dat) and your part_dtl1.dst file here, so that I am able to put myself in the same conditions as you.
Regards,
Didier
Re: Can't extract energy from .dst file
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.
V2.23.3.4 on Win11.
Kinds,
shliu
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.
V2.23.3.4 on Win11.
Kinds,
shliu
Re: Can't extract energy from .dst file
Dear Shliu,
Same answer :
I don't observe these differences, but I don't have your project files, so I need them to understand what you are doing. So, please, attach your project files (*.ini,*.dat) and your part_dtl1.dst file here, so that I am able to put myself in the same conditions as you.
Regards,
Didier
Same answer :
I don't observe these differences, but I don't have your project files, so I need them to understand what you are doing. So, please, attach your project files (*.ini,*.dat) and your part_dtl1.dst file here, so that I am able to put myself in the same conditions as you.
Regards,
Didier
Re: Can't extract energy from .dst file
I attached the project file.
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
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
Re: Can't extract energy from .dst file
And σ_φ=7.0231 deg in .dst, while it is 7.022882 deg in partran1.out file.
Re: Can't extract energy from .dst file
Dear shliu,
Using your example, I didn't get exactly your values!
But on my side, they're the same!
(see picture below)
Regards,
Didier
Using your example, I didn't get exactly your values!
But on my side, they're the same!
(see picture below)
Regards,
Didier
Re: Can't extract energy from .dst file
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
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
Re: Can't extract energy from .dst file
Ok, you send me the wrong dat file.
Now I got like you.
Norm. RMS emit_Φ_W is 0.0379 π.deg.MeV in .dst file, while it is 0.03785602 in partran1.out
But in the end it's the same thing, it's just that in dst the format of the number displayed is limited to 3 digits after the decimal point, it is jsut rounded up!
Regards,
Didier
Now I got like you.
Norm. RMS emit_Φ_W is 0.0379 π.deg.MeV in .dst file, while it is 0.03785602 in partran1.out
But in the end it's the same thing, it's just that in dst the format of the number displayed is limited to 3 digits after the decimal point, it is jsut rounded up!
Regards,
Didier
Re: Can't extract energy from .dst file
But σ_φ is different in my case:
σ_φ=7.0231 deg in .dst, while it is 7.022882 deg in partran1.out file.
σ_φ=7.0231 deg in .dst, while it is 7.022882 deg in partran1.out file.
Re: Can't extract energy from .dst file
Dear shliu,
Endeed, there is a difference which can be explained by a non-linear conversion present in the distribution display, which is an option activated by default and hidden.
You can now deactivate it in the page "Main" -> "Simulation options" -> "Non linear conversion"
You need to upgrade your code to access it
Regards,
Didier
Endeed, there is a difference which can be explained by a non-linear conversion present in the distribution display, which is an option activated by default and hidden.
You can now deactivate it in the page "Main" -> "Simulation options" -> "Non linear conversion"
You need to upgrade your code to access it
Regards,
Didier