Frqoffset.m
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.