spatial_tris_connectivity

Dear MNE users,

I'd like to use the function mne.spatial_tris_connectivity to create
the connectivity matrix for the vertices contained in fsaverage-oct-6-src.fif.

At a first look in the code, it seems that with the function
mne.grade_to_tris(5)
I can create triangles only for icosahedral mesh. Is it?

Thanks!

Annalisa

hi Annalisa,

yes it does not seem to be supported.

PR welcome

I would write it as:

connectivity = mne.grade_to_tris(6, subdivision='oct')

Alex

Hi Alex,

ok!

With Tarek we already wrote our mne.grade_to_tris(6, subdivision='oct').

We'll pull it!

Best,
Annalisa

Alexandre Gramfort <alexandre.gramfort at inria.fr> ha scritto: