Difference between revisions of "Bruker write.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} __NOTOC__ A description of what the function does and how. ==Syntax== function call string ==Arguments== argument - description...")
 
(Update function See also links and function index membership)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:function.m}} __NOTOC__
+
{{DISPLAYTITLE:bruker_write.m}} __NOTOC__
A description of what the function does and how.
+
Saves pulses in Bruker format. The result is a text file with a list of amplitudes and phases, directly usable in TopSpin.
  
 
==Syntax==
 
==Syntax==
  
    function call string
+
    bruker_write(X,Y,dt,file_name)
  
==Arguments==
+
==Parameters==
  
    argument      - description of the argument
+
    X        - in-phase channel pulse amplitudes, a
 +
                column vector in Hz
 
   
 
   
    argument      - description of the argument
+
    Y        - in-phase channel pulse amplitudes, a
                    description of the argument
+
                column vector in Hz
 +
 +
    dt        - time slice duration, seconds
 +
 +
    file_name - name of output file with .txt exten-
 +
                sion, a character string
  
 
==Outputs==
 
==Outputs==
  
     output  - description of the output
+
     the function writes an ASCII text file
 
    output  - description of the output
 
              description of the output
 
 
 
==Examples==
 
A description of what is done in the example below:
 
 
 
    % Comment
 
    matlab code
 
 
    % Comment
 
    matlab code
 
 
 
==Notes==
 
Further notes on good and bad practices.
 
  
 
==See also==
 
==See also==
Links to related functions and documentation sections.
+
[[cartesian2polar.m]], [[chirp_pulse.m]], [[ctrl_trajan.m]], [[fapt2sfo.m]], [[grad_pulse.m]], [[grad_sandw.m]], [[heterodyne.m]], [[inst_freq.m]], [[pmlg5.m]], [[polar2cartesian.m]], [[pulse_shape.m]], [[read_wave.m]], [[restrans.m]], [[rseq_compiler.m]], [[rsequence.m]], [[sawtooth.m]], [[sech_pulse.m]], [[shaped_pulse_af.m]], [[shaped_pulse_xy.m]], [[spinal.m]], [[triwave.m]], [[vg_pulse.m]], [[wave_basis.m]], [[Optimal control module]], [[Kernel_functions]]
 
 
  
''Version 2.6, authors: [[Author 1]]''
+
''Version 2.9, authors: [[Anupama Acharya]], [[David Goodwin]], [[Ilya Kuprov]]''

Latest revision as of 19:34, 6 June 2026

Saves pulses in Bruker format. The result is a text file with a list of amplitudes and phases, directly usable in TopSpin.

Syntax

   bruker_write(X,Y,dt,file_name)

Parameters

   X         - in-phase channel pulse amplitudes, a 
               column vector in Hz

   Y         - in-phase channel pulse amplitudes, a 
               column vector in Hz

   dt        - time slice duration, seconds

   file_name - name of output file with .txt exten-
               sion, a character string

Outputs

    the function writes an ASCII text file

See also

cartesian2polar.m, chirp_pulse.m, ctrl_trajan.m, fapt2sfo.m, grad_pulse.m, grad_sandw.m, heterodyne.m, inst_freq.m, pmlg5.m, polar2cartesian.m, pulse_shape.m, read_wave.m, restrans.m, rseq_compiler.m, rsequence.m, sawtooth.m, sech_pulse.m, shaped_pulse_af.m, shaped_pulse_xy.m, spinal.m, triwave.m, vg_pulse.m, wave_basis.m, Optimal control module, Kernel_functions

Version 2.9, authors: Anupama Acharya, David Goodwin, Ilya Kuprov