# Ngce.m

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

Numerical generalised cumulant expansion route to the relaxation superoperator to second order, which is equivalent to Redfield theory.

## Syntax

    R=ngce(H,dt)


## Arguments

     H    - a cell array of spin Hamiltonian commutation
superoperators obtained from an MD trajectory

     dt   - time step of the MD trajectory, seconds


## Outputs

     R    - laboratory frame relaxation superoperator


## Notes

The trajectory must be at least five times longer than the longest correlation time expected in the system.