eelbrain.SourceSpace.circular_index

SourceSpace.circular_index(seeds, extent=0.05, name='globe')[source]

Return an index into all vertices closer than extent of a seed

Parameters:
  • seeds (ArrayLike) – Seed location(s) around which to build index; shape (3,) for a single seed or (n, 3) for several.

  • extent (float) – Index vertices closer than this (in m in 3d space).

  • name (str) – Name of the NDVar.

Returns:

roi – Index into the spherical area around seeds, with a source dimension.

Return type:

NDVar