sesameeg.utils
.compute_neighbours_probability_matrix¶
- sesameeg.utils.compute_neighbours_probability_matrix(n_matrix, src, d_matrix, sigma_neigh)[source]¶
Compute neighbours’ probability matrix.
- Parameters:
- n_matrix
ndarray
ofint
, shape (n_verts, n_neigh_max) The sets of neighbours.
- src
ndarray
offloat
, shape (n_verts, 3) The coordinates of the points in the brain discretization.
- d_matrix
ndarray
offloat
, shape (n_verts x n_verts) The Euclidean distance between the points in the brain discretization.
- sigma_neigh
float
The standard deviation of the Gaussian distribution that defines the neighbours’ probability.
- n_matrix
- Returns: