Difference between revisions of "Awg interface.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
Line 35: Line 35:
 
==See also==
 
==See also==
 
[[py_run.m]]
 
[[py_run.m]]
 
  
 
''Version 2.2, authors: [[David Goodwin]]''
 
''Version 2.2, authors: [[David Goodwin]]''

Revision as of 12:22, 25 April 2026

Interface to the Bruker SpinJet AWG, calling a library of Python scripts that inteface with the Bruker Xepr API.

Syntax

    data=awg_interface(spin_system,awg_cmd,cmd_input)

Arguments

      spin_system     - should contain spinach root directory
                        in spin_system.sys.root_dir

      awg_cmd         - switch between available commands:
                              'reset_pspel'
                              'compile_pspel_shp'
                              'compile_pspel_def'
                              'compile_pspel_exp'
                              'modify_pspel_defs'
                              'acquire_data'

      cmd_input       - cell array of inputs to be passed to 
                        python scripts

Outputs

      data.X          - abscissa values from the acquired 
                        signal

      data.rY         - real ordinate values from the ac-
                        quired signal

      data.iY         - imaginary ordinate values from 
                        the acquired signal.

See also

py_run.m

Version 2.2, authors: David Goodwin