Been meaning to commit this for a while. I'm not familiar with the whole pull request process, but I figure I need to start somewhere.
I've added a new opt, 'opt.reconmask', which allows the user to provide a binary mask (with the same dimensions as their 3D data) that includes the brain only voxels (i.e. excludes air, perhaps some skull). Depending on the volume reduction, which can be substantial for whole brain data, this can provide substantial speed ups and also conserves RAM.
In addition, I added plots of the PC timecourses below the PC figures, because I just like looking at more of my data. The recon mask is also used to convert the data back to X x Y x Z format for figure creation.
I am not at all a proficient MATLAB user - so I imagine my commits are inelegant, but as far as my testing goes, I don't believe I have broken anything (fingers crossed).
Been meaning to commit this for a while. I'm not familiar with the whole pull request process, but I figure I need to start somewhere.
I've added a new opt, 'opt.reconmask', which allows the user to provide a binary mask (with the same dimensions as their 3D data) that includes the brain only voxels (i.e. excludes air, perhaps some skull). Depending on the volume reduction, which can be substantial for whole brain data, this can provide substantial speed ups and also conserves RAM.
In addition, I added plots of the PC timecourses below the PC figures, because I just like looking at more of my data. The recon mask is also used to convert the data back to X x Y x Z format for figure creation.
I am not at all a proficient MATLAB user - so I imagine my commits are inelegant, but as far as my testing goes, I don't believe I have broken anything (fingers crossed).