HI Michael,
I am using astra2elegant to convert Astra output to Elegant input. I found that the longitudinal dimension t is reversed ( bunch head and tail exchanged compared to astra result ) after using this script. So looks like there is a minus sign added when converting astra output to elegant, right ?
Thanks,
Qin
astra2elegant conversion
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: astra2elegant conversion
Qin,
Elegant uses the convention that larger t means later arrival time. ASTRA uses the opposite sign convention, as I understand it.
By the way, the latest version of astra2elegant is a compiled program, not a script. Some versions of the script had bugs. To be sure you have the latest version, type "astra2elegant". It should respond with a usage message including "This is version 3, August 2011."
--Michael
Elegant uses the convention that larger t means later arrival time. ASTRA uses the opposite sign convention, as I understand it.
By the way, the latest version of astra2elegant is a compiled program, not a script. Some versions of the script had bugs. To be sure you have the latest version, type "astra2elegant". It should respond with a usage message including "This is version 3, August 2011."
--Michael
Re: astra2elegant conversion
HI Michael,
Thanks, looks like I understand it right. And thank you for reminding the version issue. I am using the latest one.
Best,
Qin
Thanks, looks like I understand it right. And thank you for reminding the version issue. I am using the latest one.
Best,
Qin