Difference between revisions of "Rotframe.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Update function See also links and function index membership) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:rotframe.m}} __NOTOC__ | {{DISPLAYTITLE:rotframe.m}} __NOTOC__ | ||
| − | |||
Rotating frame transformation with respect to specified spins to specified order in perturbation theory (https://doi.org/10.1063/1.4928978). | Rotating frame transformation with respect to specified spins to specified order in perturbation theory (https://doi.org/10.1063/1.4928978). | ||
==Syntax== | ==Syntax== | ||
| − | |||
| − | == | + | Hr=rotframe(spin_system,H0,H,isotope,order) |
| + | |||
| + | ==Parameters== | ||
| − | H0 - carrier Hamiltonian with respect to which the | + | H0 - carrier Hamiltonian with respect to which the |
rotating frame transformation is to be done | rotating frame transformation is to be done | ||
| − | + | ||
H - laboratory frame Hamiltonian H0+H1 that is to | H - laboratory frame Hamiltonian H0+H1 that is to | ||
be transformed into the rotating frame | be transformed into the rotating frame | ||
| − | + | ||
isotope - string, such as '1H', specifying the spins | isotope - string, such as '1H', specifying the spins | ||
with respect to which the transformation is | with respect to which the transformation is | ||
being computed | being computed | ||
| − | + | ||
order - perturbation theory order in the rotating | order - perturbation theory order in the rotating | ||
frame transformation, this may be inf | frame transformation, this may be inf | ||
| Line 24: | Line 24: | ||
==Outputs== | ==Outputs== | ||
| − | + | H - rotating frame Hamiltonian | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Notes== | ==Notes== | ||
| − | |||
The auxiliary matrix method is massively faster than either commutator series or diagonalisation. | The auxiliary matrix method is massively faster than either commutator series or diagonalisation. | ||
==See also== | ==See also== | ||
| − | + | [[intrep.m]], [[average.m]], [[dirdiff.m]], [[propagator.m]], [[equilibrium.m]], [[carrier.m]], [[frqoffset.m]], [[Kernel_functions]] | |
| − | [[intrep.m]], [[average.m]], [[dirdiff.m]], [[propagator.m]], [[equilibrium.m]] | ||
| − | |||
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:41, 6 June 2026
Rotating frame transformation with respect to specified spins to specified order in perturbation theory (https://doi.org/10.1063/1.4928978).
Syntax
Hr=rotframe(spin_system,H0,H,isotope,order)
Parameters
H0 - carrier Hamiltonian with respect to which the
rotating frame transformation is to be done
H - laboratory frame Hamiltonian H0+H1 that is to
be transformed into the rotating frame
isotope - string, such as '1H', specifying the spins
with respect to which the transformation is
being computed
order - perturbation theory order in the rotating
frame transformation, this may be inf
Outputs
H - rotating frame Hamiltonian
Notes
The auxiliary matrix method is massively faster than either commutator series or diagonalisation.
See also
intrep.m, average.m, dirdiff.m, propagator.m, equilibrium.m, carrier.m, frqoffset.m, Kernel_functions
Version 2.2, authors: Ilya Kuprov