Page 1 of 1

Matrix elements

Posted: 19 Aug 2009, 06:59
by tennant
Hi,

Just wondering if it is possible to plot a matrix element (e.g. R12) vs s for a given beamline?

Thanks,
chris

Re: Matrix elements

Posted: 19 Aug 2009, 08:14
by michael_borland
Chris,

You can do this by using the matrix_output command to get the matrix into an SDDS file, e.g.,

&matrix_output
SDDS_output = <filename>,
SDDS_output_order = 1
&end

This will output the first-order matrix elements vs s for the beamline named in run_setup.

--Michael

Re: Matrix elements

Posted: 19 Aug 2009, 08:42
by tennant
Fantastic! For some reason I had been using printout="%s.mpr" rather than SDDS_output. Thanks.