Difference between revisions of "Magpump.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     R=magpump(spin_system,R,rho,rate)
 
     R=magpump(spin_system,R,rho,rate)
  
−
==Arguments==
+
==Parameters==
  
 
     R    - relaxation superoperator, from [[relaxation.m]]
 
     R    - relaxation superoperator, from [[relaxation.m]]

Revision as of 17:50, 5 June 2026

Adds phenomenological pumping terms to the relaxation superoperator to enable approximate simulation of CIDNP, PHIP and DNP type effects.

Syntax

    R=magpump(spin_system,R,rho,rate)

Parameters

   R    - relaxation superoperator, from relaxation.m

   rho  - the state to be pumped, from state.m

   rate - pumping rate, Hz

Outputs

    R    - modified relaxation superoperator

Examples

See cidnp_pumping_1.m and cidnp_pumping_2.m files in examples/spin_chemistry directory.

Notes

1. For the pumping to work correctly, the unit state population (first element) in the state vector that R will be acting on must be set to 1.

2. This function is only available in sphten-liouv formalism, and may be called repeatedly if multiple states are pumped.

See also

thermalize.m, relaxation.m, kinetics.m

Chemical dynamics infrastructure

Version 2.8, authors: Ilya Kuprov