Difference between revisions of "Correlation.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:correlation.m}} __NOTOC__
 
{{DISPLAYTITLE:correlation.m}} __NOTOC__
−
 
 
Correlation order selection function - keeps only the specified orders of spin correlation in the state vector. This is useful as a replacement for gradients and phase cycles because correlation order filtering can be accomplished analytically, by just picking out the required correlation orders and zeroing everything else.
 
Correlation order selection function - keeps only the specified orders of spin correlation in the state vector. This is useful as a replacement for gradients and phase cycles because correlation order filtering can be accomplished analytically, by just picking out the required correlation orders and zeroing everything else.
  
 
==Syntax==
 
==Syntax==
  
−
rho=correlation(spin_system,rho,orders,spins)
+
    rho=correlation(spin_system,rho,correlation_orders,spins)
  
 
==Arguments==
 
==Arguments==
  
−
rho    -  a state vector or a horizontal stack thereof
+
  rho    -  a state vector or a horizontal stack thereof
−
 
+
−
   correlation_orders -  a row vector of correlation
+
   orders -  a row vector of correlation orders to keep
−
                          orders to keep
+
−
 
+
   spins   -  which spins to consider (e.g. '1H', '13C', 'all')
−
   spins               -  which spins to consider (e.g.
 
−
                          '1H', '13C', 'all')
 
  
 
==Outputs==
 
==Outputs==
  
−
rho    - the state vector with the undesired orders of
+
  rho    - the state vector with the undesired orders of
 
             spin correlations zeroed out
 
             spin correlations zeroed out
−
 
−
Note: this function requires sphten-liouv formalism and supports Fok-
 
−
      ker-Planck direct products.
 
−
 
−
ilya.kuprov@weizmann.ac.il
 
−
ledwards@cbs.mpg.de
 
  
 
==Notes==
 
==Notes==
−
 
 
Because quantum number information is required for this function to work, it is restricted to sphten-liouv formalism. It supports Fokker-Planck direct products.
 
Because quantum number information is required for this function to work, it is restricted to sphten-liouv formalism. It supports Fokker-Planck direct products.
  
 
==See also==
 
==See also==
−
 
 
[[Kernel_functions#Coherence_order_selection|Coherence order selection]]
 
[[Kernel_functions#Coherence_order_selection|Coherence order selection]]
  

Revision as of 14:48, 5 April 2026

Correlation order selection function - keeps only the specified orders of spin correlation in the state vector. This is useful as a replacement for gradients and phase cycles because correlation order filtering can be accomplished analytically, by just picking out the required correlation orders and zeroing everything else.

Syntax

    rho=correlation(spin_system,rho,correlation_orders,spins)

Arguments

  rho     -  a state vector or a horizontal stack thereof

  orders  -  a row vector of correlation orders to keep

  spins   -  which spins to consider (e.g. '1H', '13C', 'all')

Outputs

  rho     - the state vector with the undesired orders of
            spin correlations zeroed out

Notes

Because quantum number information is required for this function to work, it is restricted to sphten-liouv formalism. It supports Fokker-Planck direct products.

See also

Coherence order selection

State space indexing and manipulation


Version 2.8, authors: Ilya Kuprov, Luke Edwards