This file selects the ROIs later used for analysis. Run the script "VelPosMain.m" and click the "load multiple files (batch only)" button. Then select the RegionStats, R and Exportmat files
from the general data folder. Click the "enable Sacc detect" button to enable saccade detection and use 5 as a "saccade threshold" and 3 for "points after saccade". Further click the "enable cell
selection" button and the "enable regressor selection" to use the parameters specified in the paper. Leave the enable position selection unchecked. Here one could theoretically only analyze a subset
of neurons based on their spatial location, but this feature was not tested in the current iteration of the code (not used for data analysis for the paper). Then click "Go" and the data will be 
prepared (takes several hours). The processed file will be stored in the current Matlab path. Code was run using MATLAB R2015a.