Difference between revisions of "Average.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(sync with Spinach main f053e432: +omega/-omega wording, kb_third_order option name fixed)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:average.m}} __NOTOC__
 
{{DISPLAYTITLE:average.m}} __NOTOC__
−
 
 
Average Hamiltonian theories under Zeeman interaction rotating frame transformations.
 
Average Hamiltonian theories under Zeeman interaction rotating frame transformations.
  
 
==Syntax==
 
==Syntax==
  
−
H=average(spin_system,Hp,H0,Hm,omega,theory)
+
    H=average(spin_system,Hp,H0,Hm,omega,theory)
  
−
==Arguments==
+
==Parameters==
  
−
Hp  -  the part of the rotating frame Hamiltonian that has positive
+
    Hp  -  the part of the rotating frame Hamiltonian that has positive
 
             frequency +omega under the rotating frame transformation
 
             frequency +omega under the rotating frame transformation
−
 
+
 
     H0  -  the part of the rotating frame Hamiltonian that has zero
 
     H0  -  the part of the rotating frame Hamiltonian that has zero
−
             frequency under the rotating frame transformation
+
             frequency under the rotating frame transformation  
−
 
+
 
     Hm  -  the part of the rotating frame Hamiltonian that has negative
 
     Hm  -  the part of the rotating frame Hamiltonian that has negative
 
             frequency -omega under the rotating frame transformation
 
             frequency -omega under the rotating frame transformation
−
 
+
 
   omega  -  the frequency of the rotating frame transformation, rad/s
 
   omega  -  the frequency of the rotating frame transformation, rad/s
−
 
+
 
   theory -  the level of the average Hamiltonian theory:
 
   theory -  the level of the average Hamiltonian theory:
−
 
+
 
             'ah_first_order'  - first order in Waugh theory
 
             'ah_first_order'  - first order in Waugh theory
−
 
+
 
             'ah_second_order' - second order in Waugh theory
 
             'ah_second_order' - second order in Waugh theory
−
 
+
 
             'ah_third_order'  - third order in Waugh theory
 
             'ah_third_order'  - third order in Waugh theory
−
 
+
 
             'matrix_log'      - exact algorithm (very expensive,
 
             'matrix_log'      - exact algorithm (very expensive,
 
                                 uses dense matrix algebra)
 
                                 uses dense matrix algebra)
−
 
+
 
             'kb_first_order'  - first order in Krylov-Bogolyubov
 
             'kb_first_order'  - first order in Krylov-Bogolyubov
 
                                 theory (DNP experiments only)
 
                                 theory (DNP experiments only)
−
 
+
 
             'kb_second_order' - second order in Krylov-Bogolyubov
 
             'kb_second_order' - second order in Krylov-Bogolyubov
 
                                 theory (DNP experiments only)
 
                                 theory (DNP experiments only)
−
 
+
 
             'kb_third_order'  - third order in Krylov-Bogolyubov
 
             'kb_third_order'  - third order in Krylov-Bogolyubov
 
                                 theory (DNP experiments only)
 
                                 theory (DNP experiments only)
Line 42: Line 41:
 
==Outputs==
 
==Outputs==
  
−
H  -  average Hamiltonian
+
      H  -  average Hamiltonian
  
 
==Notes==
 
==Notes==
−
 
 
Krylov-Bogolyubov averging theory as applied to DNP systems is described in detail here in http://dx.doi.org/10.1039/C2CP23233B and http://dx.doi.org/10.1007/s00723-012-0367-0
 
Krylov-Bogolyubov averging theory as applied to DNP systems is described in detail here in http://dx.doi.org/10.1039/C2CP23233B and http://dx.doi.org/10.1007/s00723-012-0367-0
  
 
==See also==
 
==See also==
−
 
+
[[rotframe.m]], [[expmint.m]], [[intrep.m]], [[carrier.m]], [[frqoffset.m]], [[Kernel_functions]]
−
[[rotframe.m]], [[expmint.m]], [[intrep.m]]
 
−
 
 
  
 
''Version 2.2, authors: [[Alexander Karabanov]], [[Walter Kockenberger]], [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Alexander Karabanov]], [[Walter Kockenberger]], [[Ilya Kuprov]]''

Latest revision as of 05:31, 30 August 2026

Average Hamiltonian theories under Zeeman interaction rotating frame transformations.

Syntax

    H=average(spin_system,Hp,H0,Hm,omega,theory)

Parameters

    Hp  -  the part of the rotating frame Hamiltonian that has positive
           frequency +omega under the rotating frame transformation

    H0  -  the part of the rotating frame Hamiltonian that has zero
           frequency under the rotating frame transformation 

    Hm  -  the part of the rotating frame Hamiltonian that has negative
           frequency -omega under the rotating frame transformation

 omega  -  the frequency of the rotating frame transformation, rad/s

 theory -  the level of the average Hamiltonian theory:

           'ah_first_order'  - first order in Waugh theory

           'ah_second_order' - second order in Waugh theory

           'ah_third_order'  - third order in Waugh theory

           'matrix_log'      - exact algorithm (very expensive,
                               uses dense matrix algebra)

           'kb_first_order'  - first order in Krylov-Bogolyubov
                               theory (DNP experiments only)

           'kb_second_order' - second order in Krylov-Bogolyubov
                               theory (DNP experiments only)

           'kb_third_order'  - third order in Krylov-Bogolyubov
                               theory (DNP experiments only)

Outputs

     H  -  average Hamiltonian

Notes

Krylov-Bogolyubov averging theory as applied to DNP systems is described in detail here in http://dx.doi.org/10.1039/C2CP23233B and http://dx.doi.org/10.1007/s00723-012-0367-0

See also

rotframe.m, expmint.m, intrep.m, carrier.m, frqoffset.m, Kernel_functions

Version 2.2, authors: Alexander Karabanov, Walter Kockenberger, Ilya Kuprov