# Decouple.m

Obliterates all interactions and populations in the subspace of states that involve user-specified spins in any way. The specified spins would not contribute to the system dynamics until the Liouvillian is rebuilt from scratch. Syntax:

                [L,rho]=decouple(spin_system,L,rho,spins)

    spins: spins to be wiped, specified either by name, such as '13C',
or by a list of numbers, such as [1 2 3].

    L:     Liouvillian superoperator

    rho:   state vector or a horizontal stack thereof


Note: this function is an analytical equivalent of a running decoupling pulse sequence on the specified spins.

Note: this function requires sphten-liouv formalism.