Dependency repositories: https://github.com/cortex-lab https://github.com/kwikteam/npy-matlab Directions for general-use code are in the wiki (https://github.com/petersaj/AP_scripts_cortexlab/wiki)