Menu

Commit [r1657]  Maximize  Restore  History

Added WF_maskROIs.m which is a gui to create a roiMask by pressing left click on an roi or toggle (white border ROIs will be false in roiMask).

Adapted WF_corrmat.m to take roiMask as argument and implements plots only on masked ROIs. Adapted WF_corrmat_plot for cases in which the number of ROIs is not 824 nor 818.

usage:
WF_maskROIs(proj_meta(1).ExpGroup(1), {HAS_meta_norm(1).rd(1).ROIinfo.indices})
> select ROIs you want to discard by pressing on them, or going over them with mouse left key pressed.
> press 'm' to save current roiMask (818x1 logical) in your workspace.

[corrmats, ~] = WF_corrmat(proj_meta, 'roiMask', roiMask); to compute correlations only on the ROIs selected by roiMask.

dororoma 2025-05-08

changed /21_Analysis/WF_corrmat.m
changed /21_Analysis/WF_corrmat_plot.m
added /21_Analysis/WF_maskROIs.m
/21_Analysis/WF_corrmat.m Diff Switch to side-by-side view
Loading...
/21_Analysis/WF_corrmat_plot.m Diff Switch to side-by-side view
Loading...
/21_Analysis/WF_maskROIs.m Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB