Page 1 of 1
R/T matrix output
Posted: 23 Sep 2011, 10:44
by astecpete
Hi Michael,
I'm investigating some effects in the arc of our ERL, ALICE. I did a quick test, plotting dispersion and R16, expecting them to be identical. But they're not. Am I going crazy?
Pete
(couldn't upload the .sh so renamed it to .txt)
Re: R/T matrix output
Posted: 23 Sep 2011, 14:37
by michael_borland
Pete,
Try setting local_dispersion=0 in &twiss_output. That should eliminate the difference. The manual page for &twiss_output provides an explanation.
If that doesn't resolve it, let me know.
--Michael
Re: R/T matrix output
Posted: 25 Sep 2011, 05:28
by astecpete
Michael,
The answer to my question is - yes, i am going crazy. I'd forgotten that the R-matrix elements are concatenated from the start of the beamline, so are "global" rather than local. So the plots are right and it's my understanding at fault - I could blame it on that friday afternoon feeling!
However - when I do turn local_dispersion = 0, i get zeros everywhere in the .twi file. The version of elegant i've got on this machine is 23.1.2.
Pete