visbrain.objects.VolumeObj.extract_activity¶
- VolumeObj.extract_activity(xyz, radius=2.0)[source][source]¶
Extract activity of a volume around (x, y, z) points.
- Parameters:
- xyzarray_like
Array of (x, y, z) coordinates of shape (n_sources, 3)
- radiusfloat | 2.
Radius of the sphere around each point.
- Returns:
- actarray_like
Activity array of shape (n_sources,)