Is there a way I can read off the numerical values of the 6 x6 one-turn matrix from one of the result files after I ran the code ? I know it is possible in MadX. If it is available in the ELEGAT, could you tell me how to do it ?
Thanks,
Gunn
Read off the one-turn matrix from the result files?
Moderators: cyao, michael_borland
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Read off the one-turn matrix from the result files?
Gunn,
There are two ways to get this.
You can supply a filename for the final output in the run_setup command. You'll find the Rij values in parameters in that output file. This is convenient if you are varying something in the system and want to see how the matrix elements change as a function of the variable parameter.
You can also use the matrix_output command to get the s-dependent matrix elements, or just the full-turn matrix by setting full_matrix_only=1. This allows getting not only the linear matrix, but also higher-order matrix elements.
--Michael
There are two ways to get this.
You can supply a filename for the final output in the run_setup command. You'll find the Rij values in parameters in that output file. This is convenient if you are varying something in the system and want to see how the matrix elements change as a function of the variable parameter.
You can also use the matrix_output command to get the s-dependent matrix elements, or just the full-turn matrix by setting full_matrix_only=1. This allows getting not only the linear matrix, but also higher-order matrix elements.
--Michael