Difference between revisions of "Average.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(sync with Spinach main f053e432: +omega/-omega wording, kb_third_order option name fixed)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:function.m}}
+
{{DISPLAYTITLE:average.m}} __NOTOC__
 
Average Hamiltonian theories under Zeeman interaction rotating frame transformations.
 
Average Hamiltonian theories under Zeeman interaction rotating frame transformations.
  
Line 6: Line 6:
 
     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 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
Line 15: Line 15:
 
   
 
   
 
     Hm  -  the part of the rotating frame Hamiltonian that has negative
 
     Hm  -  the part of the rotating frame Hamiltonian that has negative
−
             frequency 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
Line 36: Line 36:
 
                                 theory (DNP experiments only)
 
                                 theory (DNP experiments only)
 
   
 
   
−
             'kb_second_order' - third order in Krylov-Bogolyubov
+
             'kb_third_order' - third order in Krylov-Bogolyubov
 
                                 theory (DNP experiments only)
 
                                 theory (DNP experiments only)
  
Line 47: Line 47:
  
 
==See also==
 
==See also==
−
[[rotframe.m]], [[expmint.m]], [[intrep.m]]
+
[[rotframe.m]], [[expmint.m]], [[intrep.m]], [[carrier.m]], [[frqoffset.m]], [[Kernel_functions]]
−
 
 
  
 
''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