Cell-Assembly-Detection (CAD) Matlab code for Cell Assembly Detection (CAD) method from Russo E, Durstewitz D. Cell assemblies at multiple time scales with arbitrary lag constellations. Elife. 2017 6. All code written by Eleonora Russo.