mne.channels.
find_ch_connectivity
(info, ch_type)[source]¶Find the connectivity matrix for the given channels.
This function tries to infer the appropriate connectivity matrix template for the given channels. If a template is not found, the connectivity matrix is computed using Delaunay triangulation based on 2d sensor locations.
Parameters: | info : instance of Info
ch_type : str | None
|
---|---|
Returns: | ch_connectivity : scipy.sparse matrix, shape (n_channels, n_channels)
ch_names : list
|
See also
Notes
New in version 0.15.
Automatic detection of an appropriate connectivity matrix template only
works for MEG data at the moment. This means that the connectivity matrix
is always computed for EEG data and never loaded from a template file. If
you want to load a template for a given montage use
read_ch_connectivity()
directly.
mne.channels.find_ch_connectivity
¶