Tools for Motor Primitive Analysis - Well suited for two camera, 1-photon and 2-photon imaging