trftools.roi.symmetric_mask

trftools.roi.symmetric_mask(mask)

Make a surface source space mask symmetric.

Parameters:

mask (NDVar) – Binary mask on FSAverage.

Return type:

Symmetric mask based on the union of the left and right hemispheres in mask.

Examples

Symmetric functional ROI from a test result:

froi_source = result.p <= 0.05
froi_symmetric = symmetric_mask(froi_source)