mne_connectivity.check_indices#
- mne_connectivity.check_indices(indices)[source]#
Check indices parameter for bivariate connectivity.
- Parameters:
- indices
tuple
of length 2 of array_like, shape (n_cons,) A tuple of 2 arrays containing the seed and target channel indices, respectively.
- indices
- Returns:
- indices
tuple
of length 2 of array_like, shape (n_cons,) The indices to use for connectivity computation.
- 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.