visbrain.objects.SourceObj.fit_to_vertices

SourceObj.fit_to_vertices(v)[source][source]

Move sources to the closest vertex.

Parameters:
v : array_like

The vertices of shape (nv, 3) or (nv, 3, 3) if index faced.