A messy compilation of Matlab scripts that I use for alignment of Ca imaging data, ROI-based analysis (manually) and further analysis of extracted time courses of dF/F data based on correlations, ...
% Modified matlab_tfce_transform.m to enable user defined threshold,.e.g. % if using t-stats could set the threshold at 1.97 (equivalent to p-value ...