mne.channels.read_ch_connectivity

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

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.

Returns:

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