tensorpac.methods.heights_ratio

tensorpac.methods.heights_ratio(pha, amp, n_bins=18)[source]

Tensor-based Heights ratio (HR).

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).

n_binsint | 18

Number of bins to binarize the amplitude according to phase intervals

Returns
pacarray_like

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

References

Lakatos et al. 2005 [9]