From 63aed0bb8b653a061ae3dbee28c48283e20353af Mon Sep 17 00:00:00 2001 From: Tien Dung Nguyen Date: Tue, 19 Mar 2024 17:12:29 +0100 Subject: [PATCH] typo --- roi_pac.m | 2 +- simulations/sim_tde_bispec.m | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roi_pac.m b/roi_pac.m index 7a333c5..9f65e02 100644 --- a/roi_pac.m +++ b/roi_pac.m @@ -1,4 +1,4 @@ -% roi_pac() - Compute phase-amplitude coupling (PAC) between ROIs (cf. Zandvoort and Nolte, 2021). +% roi_pac() - Computes phase-amplitude coupling (PAC) between ROIs (cf. Zandvoort and Nolte, 2021). % Wrapper function for pac_bispec(). % % Usage: diff --git a/simulations/sim_tde_bispec.m b/simulations/sim_tde_bispec.m index feece70..06e4a43 100644 --- a/simulations/sim_tde_bispec.m +++ b/simulations/sim_tde_bispec.m @@ -68,9 +68,10 @@ [peak_val, peak_idx] = max(aT); % extract estimated delay/peak est_delay = delay_scale(peak_idx); -figure; plot(delay_scale, aT) +figure; plot(delay_scale, aT, 'black') xline(est_delay, '--r') xlabel('Time (s)') +ylabel('a.u.') title(sprintf('TDE | Method %d', method)) subtitle("\tau = " + num2str(est_delay) + " (s)") grid on