Difference between revisions of "Spinlock.m"
(Created page with "Analytical approximation to a spin locking process. ==Syntax== rho=spinlock(spin_system,Lx,Ly,rho,direction) ==Description== This function obliterates all spin-spin co...") |
(Update function See also links and function index membership) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | Analytical approximation to | + | {{DISPLAYTITLE:spinlock.m}} __NOTOC__ |
| + | Analytical approximation to the spin-locking process that removes all spin-spin correlations and all magnetisation components except those along the indicated direction. | ||
==Syntax== | ==Syntax== | ||
| Line 5: | Line 6: | ||
rho=spinlock(spin_system,Lx,Ly,rho,direction) | rho=spinlock(spin_system,Lx,Ly,rho,direction) | ||
| − | == | + | ==Parameters== |
| − | |||
| − | |||
| − | |||
Lx - X magnetization operator on the spins that | Lx - X magnetization operator on the spins that | ||
| Line 40: | Line 38: | ||
==See also== | ==See also== | ||
| − | [[coherence.m]], [[correlation.m]], [[homospoil.m]] | + | [[coherence.m]], [[correlation.m]], [[homospoil.m]], [[roesy.m]], [[decouple.m]], [[Kernel_functions]] |
| − | |||
''Version 1.10, authors: [[Ilya Kuprov]]'' | ''Version 1.10, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:41, 6 June 2026
Analytical approximation to the spin-locking process that removes all spin-spin correlations and all magnetisation components except those along the indicated direction.
Syntax
rho=spinlock(spin_system,Lx,Ly,rho,direction)
Parameters
Lx - X magnetization operator on the spins that
should be locked
Ly - Y magnetization operator on the spins that
should be locked
rho - state vector or a bookshelf stack thereof
direction - direction in which the spins should be lo-
cked, 'X' or 'Y'.
Returns
rho - state vector or a bookshelf stack thereof
Examples
The following code fragment is used for spin locking in roesy.m:
% Pulse operators
Lp=operator(spin_system,'L+',parameters.spins{1});
Lx=(Lp+Lp')/2; Ly=(Lp-Lp')/2i;
% Analytical spin lock
rho_stack_cos=spinlock(spin_system,Lx,Ly,rho_stack,'Y');
rho_stack_sin=spinlock(spin_system,Lx,Ly,rho_stack,'X');
Notes
This is an approximation to what happens during a real spin locking process. If you need a very accurate simulation, you would need to model the spin locking explicity by adding RF terms to the system Hamiltonian.
See also
coherence.m, correlation.m, homospoil.m, roesy.m, decouple.m, Kernel_functions
Version 1.10, authors: Ilya Kuprov