Hi Didier,
when running TraceWin through the GUI and with TraceWin_noX11, I noticed subtle differences in the input distributions saved to the plt-file.
Between the two, it looks like there is a linear scaling applied (see picture in the attachment showing the delta as a function of the parameter values).
Is this a bug or is there a simple explanation?
Kind regards,
Lennert
input distributions plt-file different for TraceWin and TraceWin_noX11 [SOLVED]
-
- Beginner
- Posts: 6
- Joined: Mon 11 Jul 2022 16:19
- Country:
Belgium (be)
input distributions plt-file different for TraceWin and TraceWin_noX11
- Attachments
-
- input_distribution_scaling.png (388.78 KiB) Viewed 61 times
Re: input distributions plt-file different for TraceWin and TraceWin_noX11
Dear Lennert,
I tried it with one of my projects and didn't see any difference, so I'd really need your specific case (your project files) to understand the problem you're having.
Regards,
Didier
I tried it with one of my projects and didn't see any difference, so I'd really need your specific case (your project files) to understand the problem you're having.
Regards,
Didier
-
- Beginner
- Posts: 6
- Joined: Mon 11 Jul 2022 16:19
- Country:
Belgium (be)
Re: input distributions plt-file different for TraceWin and TraceWin_noX11
Hi Didier,
you can find .zip file in the attachment.
For the noX11 run I used the following commandline prompt:
'TraceWin_noX11 i1lb.ini path_cal=output_cmd partran=1 nbr_part1=535332 use_dst_file dst_file1=RFQ_exit_acc_centered.dst energy1=1.494 cancel_matchingp'
Be aware that in this particular case, the input reference energy of the beam was purposely lowered from 1.52 MeV (taken from the distribution file) to 1.494 MeV. Could it be related to this?
Kr,
Lennert
you can find .zip file in the attachment.
For the noX11 run I used the following commandline prompt:
'TraceWin_noX11 i1lb.ini path_cal=output_cmd partran=1 nbr_part1=535332 use_dst_file dst_file1=RFQ_exit_acc_centered.dst energy1=1.494 cancel_matchingp'
Be aware that in this particular case, the input reference energy of the beam was purposely lowered from 1.52 MeV (taken from the distribution file) to 1.494 MeV. Could it be related to this?
Kr,
Lennert
- Attachments
-
- forum_case.zip
- (175.55 MiB) Downloaded 3 times
-
- Beginner
- Posts: 6
- Joined: Mon 11 Jul 2022 16:19
- Country:
Belgium (be)
Re: input distributions plt-file different for TraceWin and TraceWin_noX11
P.s.: I just did the check myself and indeed it's related to the energy shift. without the shift and leaving the energy as is (1.52 MeV) the results are identical.
Re: input distributions plt-file different for TraceWin and TraceWin_noX11 [SOLVED]
Dear Lennert,
It's fixed, please upgrade your code.
Regards,
Didier
It's fixed, please upgrade your code.
Regards,
Didier
-
- Beginner
- Posts: 6
- Joined: Mon 11 Jul 2022 16:19
- Country:
Belgium (be)
Re: input distributions plt-file different for TraceWin and TraceWin_noX11
Dear Didier,
I can confirm that the issue is resolved with the latest upgrade. Thanks a lot!
Kind regards,
Lennert
I can confirm that the issue is resolved with the latest upgrade. Thanks a lot!
Kind regards,
Lennert