visbrain.objects.RoiObj.select_roi

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

Select several Region Of Interest (ROI).

Parameters
selectint, float, list | .5

Threshold for extracting vertices from isosuface method.

unique_colorbool | False

Use a random unique color for each ROI.

roi_to_colordict | None

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

smoothint | 3

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

translucentbool | False

Set if the mesh should be translucent or opaque.