mne.channels.read_ch_connectivity(fname, picks=None)

Parse FieldTrip neighbors .mat file

More information on these neighbor definitions can be found on the related FieldTrip documentation pages:


fname : str

The file name. Example: ‘neuromag306mag’, ‘neuromag306planar’, ‘ctf275’, ‘biosemi64’, etc.

picks : array-like of int, shape (n_channels,)

The indices of the channels to include. Must match the template. Defaults to None.


ch_connectivity : scipy.sparse matrix

The connectivity matrix.

ch_names : list

The list of channel names present in connectivity matrix.

Examples using mne.channels.read_ch_connectivity