mne_connectivity.check_indices#

mne_connectivity.check_indices(indices)[source]#

Check indices parameter for bivariate connectivity.

Parameters:
indicestuple of array of int, shape (2, n_cons)

Tuple containing index pairs.

Returns:
indicestuple of array of int, shape (2, n_cons)

The indices.

Notes

Indices for bivariate connectivity should be a tuple of length 2, containing the channel indices for the seed and target channel pairs, respectively. Seed and target indices should be equal-length array-likes of integers representing the indices of the individual channels in the data.