Difference between revisions of "Frqoffset.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "Adds offset frequencies to the Hamiltonian. Syntax: H=frqoffset(spin_system,H,parameters) where H is the Hamiltonian and parameters should contain the following subf...")
(No difference)

Revision as of 16:44, 23 September 2015

Adds offset frequencies to the Hamiltonian. Syntax:

       H=frqoffset(spin_system,H,parameters)

where H is the Hamiltonian and parameters should contain the following subfields:

             parameters.spins - a cell array giving the
             spins that the pulse sequence works on, in
             the order of channels, e.g. {'1H','13C'}
             parameters.offset - a cell array giving
             transmitter offsets on each of the spins
             listed in parameters.spins array.

If multiple channels operate on the same spins, the corresponding offsets must be the same.