Difference between revisions of "Frqoffset.m"
(Sync syntax/arguments/outputs with current Spinach source) |
|||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:frqoffset.m}} | + | {{DISPLAYTITLE:frqoffset.m}} __NOTOC__ |
| + | |||
Adds omega*Lz Zeeman frequency offsets to the Hamiltonian; this is useful in liquid state NMR experiments. | Adds omega*Lz Zeeman frequency offsets to the Hamiltonian; this is useful in liquid state NMR experiments. | ||
==Syntax== | ==Syntax== | ||
| − | + | H=frqoffset(spin_system,H,parameters) | |
==Arguments== | ==Arguments== | ||
| − | + | H - Hamiltonian operator or commutati- | |
on superoperator | on superoperator | ||
| Line 21: | Line 22: | ||
==Outputs== | ==Outputs== | ||
| − | + | H - Hamiltonian operator or commutati- | |
on superoperator | on superoperator | ||
| + | |||
| + | Note: offset transformation of this kind is an approximati- | ||
| + | on, use rotframe.m or intrep.m if a rigorous treat- | ||
| + | ment of second order effects is required. | ||
| + | |||
| + | ilya.kuprov@weizmann.ac.il | ||
==Examples== | ==Examples== | ||
| − | This function is often called from ''Spinach'' [[Kernel_contexts|context functions]] to prepare the Hamiltonian. See, for example, [[liquid.m]] context. | + | |
| + | This function is often called from ''Spinach'' [[Kernel_contexts|context functions]] to prepare the Hamiltonian. See, for example, [[liquid.m]] context. | ||
==Notes== | ==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. | 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== | ==See also== | ||
| + | |||
[[carrier.m]], [[rotframe.m]], [[intrep.m]], [[operator.m]] | [[carrier.m]], [[rotframe.m]], [[intrep.m]], [[operator.m]] | ||
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Revision as of 14:05, 5 April 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)
Arguments
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
Note: offset transformation of this kind is an approximati-
on, use rotframe.m or intrep.m if a rigorous treat-
ment of second order effects is required.
ilya.kuprov@weizmann.ac.il
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
Version 2.2, authors: Ilya Kuprov