Matrix elements

Moderators: cyao, michael_borland

Post Reply
tennant
Posts: 85
Joined: 31 Jul 2008, 07:19
Location: Jefferson Laboratory

Matrix elements

Post by tennant » 19 Aug 2009, 06:59

Hi,

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

Thanks,
chris

michael_borland
Posts: 1933
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Matrix elements

Post by michael_borland » 19 Aug 2009, 08:14

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

tennant
Posts: 85
Joined: 31 Jul 2008, 07:19
Location: Jefferson Laboratory

Re: Matrix elements

Post by tennant » 19 Aug 2009, 08:42

Fantastic! For some reason I had been using printout="%s.mpr" rather than SDDS_output. Thanks.

Post Reply