tensorpac.methods.norm_direct_pac¶
-
tensorpac.methods.
norm_direct_pac
(pha, amp, p=0.05)[source]¶ Tensor-based Normalized direct Pac (ndPAC).
- Parameters
- pha, amparray_like
Respectively the arrays of phases of shape (n_pha, …, n_times) and the array of amplitudes of shape (n_amp, …, n_times).
- pfloat | .05
P-value to use for thresholding. Sub-threshold PAC values will be set to 0. To disable this behavior (no masking), use
p=1
orp=None
.
- Returns
- pacarray_like
Array of phase amplitude coupling of shape (n_amp, n_pha, …)
References
Ozkurt et al. [13]