tensorpac.methods.ergcpac¶
-
tensorpac.methods.
ergcpac
(pha, amp, smooth=None, n_jobs=-1)[source]¶ Event Related PAC using the Gaussian Copula Mutual Information.
This function assumes that phases and amplitudes have already been prepared i.e. phases should be represented in a unit circle (np.c_[np.sin(pha), np.cos(pha)]) and both inputs should also have been copnormed.
- Parameters
- pha, amparray_like
Respectively arrays of phases of shape (n_pha, n_times, 2, n_epochs) and the array of amplitudes of shape (n_amp, n_times, 1, n_epochs).
- Returns
- erpacarray_like
Array of correlation coefficients of shape (n_amp, n_pha, n_times)
References
Ince et al. 2017 [6]