sesameeg.utils.initialize_radius

sesameeg.utils.initialize_radius(src)[source]

Guess the units of the points in the brain discretization and set to 1 cm the value of the radius for computing the sets of neighbours.

Parameters:
srcndarray of float, shape (n_verts, 3)

The coordinates of the points in the brain discretization.

Returns:
radiusfloat

The value of the radius.