Difference between revisions of "Homospoil.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Restore pre-bulk-edit wiki content)
(Normalise sequential blank lines)
Line 29: Line 29:
  
 
[[Kernel_utilities#State_space_indexing_and_manipulation|State space indexing and manipulation]]
 
[[Kernel_utilities#State_space_indexing_and_manipulation|State space indexing and manipulation]]
 
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 12:26, 25 April 2026

Emulates a strong homospoil pulse - only zero-frequency states with respect to the carrier frequencies (chemical shifts are not considered) survive the process.

Syntax

    rho=homospoil(spin_system,rho,zqc_flag)

Arguments

        rho - a state vector or a horizontal stack thereof

   zqc_flag - a flag controlling the fate of zero-quantum 
              coherences. If set to 'keep', causes ZQCs to
              survive the process, approximating experimen-
              tal behaviour. If set to 'destroy', wipes the
              zero-quantum coherences - only the longitudi-
              nal states survive the process.

Outputs

       rho  - the state vector(s) with only the longitudi-
              nal or only the zero-quantum states kept

Notes

This function is only available for 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