Homospoil.m

From Spinach Documentation Wiki
Jump to: navigation, search

Emulates a strong homospoil pulse - only zero-frequency states survive the process. Syntax:

               rho=homospoil(spin_system,rho,zqc_flag)

Parameters:

           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.

Note: this function is only available for sphten-liouv formalism.