visbrain.objects.RoiObj.select_roi

RoiObj.select_roi(select=0.5, unique_color=False, roi_to_color=None, smooth=3)[source][source]

Select several Region Of Interest (ROI).

Parameters:
select : int, float, list | .5

Threshold for extracting vertices from isosuface method.

unique_color : bool | False

Use a random unique color for each ROI.

roi_to_color : dict | None

Color of specific ROI using a dictionary i.e {1: ‘red’, 2: ‘orange’}.

smooth : int | 3

Smoothing level. Must be an odd integer (smooth % 2 = 1).