Difference between revisions of "Magpump.m"
(Normalise sequential blank lines) |
|||
| Line 30: | Line 30: | ||
[[Kernel_utilities#Chemical_dynamics_infrastructure|Chemical dynamics infrastructure]] | [[Kernel_utilities#Chemical_dynamics_infrastructure|Chemical dynamics infrastructure]] | ||
| − | |||
''Version 2.8, authors: [[Ilya Kuprov]]'' | ''Version 2.8, authors: [[Ilya Kuprov]]'' | ||
Revision as of 11:27, 25 April 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)
Arguments
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