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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%