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...")
 
(Update function See also links and function index membership)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
Adds offset frequencies to the Hamiltonian. Syntax:
+
{{DISPLAYTITLE:frqoffset.m}} __NOTOC__
 +
Adds omega*Lz Zeeman frequency offsets to the Hamiltonian; this is useful in liquid state NMR experiments.
  
−
        H=frqoffset(spin_system,H,parameters)
+
==Syntax==
  
−
where H is the Hamiltonian and parameters should contain the following subfields:
+
    H=frqoffset(spin_system,H,parameters)
  
−
              parameters.spins - a cell array giving the
+
==Parameters==
−
              spins that the pulse sequence works on, in
 
−
              the order of channels, e.g. {'1H','13C'}
 
  
−
              parameters.offset - a cell array giving
+
                  H - Hamiltonian operator or commutati-
−
              transmitter offsets on each of the spins
+
                      on superoperator
−
              listed in parameters.spins array.
+
 +
    parameters.spins - a cell array giving the spins that
 +
                      the offsetrs should be applied to,
 +
                      e.g. {'1H','13C'}
 +
 +
  parameters.offset - a cell array giving Zeeman offsets
 +
                      on each of the spins listed in pa-
 +
                      rameters.spins array.
  
−
If multiple channels operate on the same spins, the corresponding offsets must be the same.
+
==Outputs==
 +
 
 +
                  H - Hamiltonian operator or commutati-
 +
                      on superoperator
 +
 
 +
==Examples==
 +
This function is often called from ''Spinach'' [[Kernel_contexts|context functions]] to prepare the Hamiltonian. See, for example, [[liquid.m]] context.
 +
 
 +
==Notes==
 +
Offset transformation of this kind is an approximation, use [[rotframe.m]] or [[intrep.m]] if a rigorous treatment of second order effects is required.
 +
 
 +
==See also==
 +
[[carrier.m]], [[rotframe.m]], [[intrep.m]], [[operator.m]], [[liquid.m]], [[average.m]], [[Kernel_functions]]
 +
 
 +
''Version 2.2, authors: [[Ilya Kuprov]]''

Latest revision as of 18:36, 6 June 2026

Adds omega*Lz Zeeman frequency offsets to the Hamiltonian; this is useful in liquid state NMR experiments.

Syntax

    H=frqoffset(spin_system,H,parameters)

Parameters

                  H - Hamiltonian operator or commutati-
                      on superoperator

   parameters.spins - a cell array giving the spins that
                      the offsetrs should be applied to,
                      e.g. {'1H','13C'}

  parameters.offset - a cell array giving Zeeman offsets
                      on each of the spins listed in pa-
                      rameters.spins array.

Outputs

                  H - Hamiltonian operator or commutati-
                      on superoperator

Examples

This function is often called from Spinach context functions to prepare the Hamiltonian. See, for example, liquid.m context.

Notes

Offset transformation of this kind is an approximation, use rotframe.m or intrep.m if a rigorous treatment of second order effects is required.

See also

carrier.m, rotframe.m, intrep.m, operator.m, liquid.m, average.m, Kernel_functions

Version 2.2, authors: Ilya Kuprov