mne_connectivity.check_indices#

mne_connectivity.check_indices(indices)[source]#

Check indices parameter for bivariate connectivity.

Parameters:
indicestuple of length 2 of array_like, shape (n_cons,)

A tuple of 2 arrays containing the seed and target channel indices, respectively.

Returns:
indicestuple of length 2 of array_like, shape (n_cons,)

The indices to use for connectivity computation.

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.