Compute a common mask for several sessions of fMRI data.
Uses the mask-finding algorithmes to extract masks for each session, and then keep only the main connected component of the a given fraction of the intersection of all the masks.
Parameters : | session_files : list of list of strings
threshold : float, optional
m : float, optional
M: float, optional :
cc: boolean, optional :
|
---|---|
Returns : | mask : 3D boolean ndarray
|