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_matrixndarrayofint, shape (n_verts, n_neigh_max)
- The sets of neighbours. 
- srcndarrayoffloat, shape (n_verts, 3)
- The coordinates of the points in the brain discretization. 
- d_matrixndarrayoffloat, shape (n_verts x n_verts)
- The Euclidean distance between the points in the brain discretization. 
- sigma_neighfloat
- The standard deviation of the Gaussian distribution that defines the neighbours’ probability. 
 
- n_matrix
- Returns: