visbrain.objects.RoiObj.get_centroids¶
-
RoiObj.
get_centroids
(self, select)[source][source]¶ Get the (x, y, z) coordinates of the center of a ROI.
- Parameters
- selectlist
List of indices of ROIs. Must be a list or tuple of integers.
- Returns
- xyzarray_like
Array of shape (n_indiced, 3) which contains the (x, y, z) coordinates of each ROI center.