mne.channels.
read_ch_connectivity
(fname, picks=None)[source]¶Parse FieldTrip neighbors .mat file.
More information on these neighbor definitions can be found on the related FieldTrip documentation pages: http://fieldtrip.fcdonders.nl/template/neighbours
Parameters: | fname : str
picks : array-like of int, shape (n_channels,)
|
---|---|
Returns: | ch_connectivity : scipy.sparse matrix, shape (n_channels, n_channels)
ch_names : list
|
See also
Notes
This function is closely related to find_ch_connectivity()
. If you
don’t know the correct file for the neighbor definitions,
find_ch_connectivity()
can compute the connectivity matrix from 2d
sensor locations.