Computes phase-amplitude coupling over a grid of phase frequencies and amplitude frequencies, yielding a comodulogram matrix whose peak locates the dominant coupling.
Usage
comodulogram(
x,
y = NULL,
sr = NULL,
phase_freqs,
amp_freqs,
method = c("tort", "canolty", "ozkurt", "plv"),
phase_bw = 2,
amp_bw = 10,
n_bins = 18L,
order = 4L,
modality_x = NULL,
modality_y = NULL,
channels_x = 1L,
channels_y = 1L
)Arguments
- x, y, sr, method, n_bins, order, modality_x, modality_y, channels_x, channels_y
As in
phaseAmplitudeCoupling().- phase_freqs
Numeric vector of phase centre frequencies in Hz.
- amp_freqs
Numeric vector of amplitude centre frequencies in Hz.
- phase_bw
Half-bandwidth of each phase band in Hz (default: 2).
- amp_bw
Half-bandwidth of each amplitude band in Hz (default: 10).
Value
A list with the matrix (rows = phase frequencies, columns =
amplitude frequencies), phase_freqs, amp_freqs,
method, and peak (the (phase, amplitude) frequency of the
maximum and its value).