(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Computes the effect of a gradient sandwich on the sample average density matrix using Edwards formalism. It is assumed that the effect of diffusion is negligible, that the gradients are linear, and that they are antisymmetric about the middle of the sample. Syntax:

    rho=grad_sandw(spin_system,L,rho,P,g_amps,s_len,g_durs,s_facs)


Arguments:

             rho   - spin system state vector

               L   - system Liouvillian

               P   - total propagator for all events happening

          g_amps   - row vector containing the amplitudes of

           s_len   - sample length, cm

          g_durs   - row vector containing the durations of

          s_facs   - shape factors of the two gradients, use