tensorpac.methods.mean_vector_length_nb

tensorpac.methods.mean_vector_length_nb(pha, amp)[source]

Numba-based Mean Vector Length (MVL).

Parameters
pha, amparray_like

Respectively the arrays of phases of shape (n_pha, n_epochs, n_times) and the array of amplitudes of shape (n_amp, n_epochs, n_times). Both arrays should be of type float64 (np.float64)

Returns
pacarray_like

Array of phase amplitude coupling of shape (n_amp, n_pha, n_epochs)

References

Canolty et al. 2006 [4]