From d91598f85a154bf0d352842495d161cc7276f9e4 Mon Sep 17 00:00:00 2001 From: Johanna Bayer Date: Sun, 14 May 2023 18:55:55 +1000 Subject: [PATCH] take review out of if statement --- PhysIO/code/model/tapas_physio_rvt_hilbert.m | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/PhysIO/code/model/tapas_physio_rvt_hilbert.m b/PhysIO/code/model/tapas_physio_rvt_hilbert.m index ee7d0f16..c8993844 100644 --- a/PhysIO/code/model/tapas_physio_rvt_hilbert.m +++ b/PhysIO/code/model/tapas_physio_rvt_hilbert.m @@ -142,17 +142,21 @@ %% Plot figures %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% save relevant structures + +verbose.review.rvt_hilbert.t = t; +verbose.review.rvt_hilbert.fr = fr; +verbose.review.rvt_hilbert.fr_lp = fr_lp; +verbose.review.rvt_hilbert.fr_mag = fr_mag; +verbose.review.rvt_hilbert.fr_rv = fr_rv +verbose.review.rvt_hilbert.fr_phase = fr_phase; +verbose.review.rvt_hilbert.fr_if = fr_if; + if verbose.level>=2 [verbose] = tapas_physio_plot_rvt_hilbert(t,fr, fr_lp, fr_mag, fr_rv, ... fr_phase, fr_if, verbose) - verbose.review.rvt_hilbert.t = t; - verbose.review.rvt_hilbert.fr = fr; - verbose.review.rvt_hilbert.fr_lp = fr_lp; - verbose.review.rvt_hilbert.fr_mag = fr_mag; - verbose.review.rvt_hilbert.fr_rv = fr_rv - verbose.review.rvt_hilbert.fr_phase = fr_phase; - verbose.review.rvt_hilbert.fr_if = fr_if; + end %% Downsample %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%