bruker_write.m

From Spinach Documentation Wiki
Revision as of 18:47, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

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

Optimal control module, Shaped pulses and gradients

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