Skip to content

Commit

Permalink
take save in review out of if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
likeajumprope committed May 14, 2023
1 parent 9748d9a commit be4f449
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions PhysIO/code/model/tapas_physio_create_retroicor_regressors.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,7 @@

fr = ons_secs.fr;

if verbose.level >=3
[pulset, rsampint, rout, resp_max, cumsumh, sumh, h, ...
npulse, dpulse, r_phase, verbose.fig_handles(end+1)] = ...
tapas_physio_get_respiratory_phase( ...
fr,rsampint, verbose.level);

% save variables in verbose
% save variables in verbose
verbose.review.traces.pulset = pulset;
verbose.review.traces.rsampint = rsampint;
verbose.review.traces.rout = rout;
Expand All @@ -123,7 +117,11 @@
verbose.review.traces.dpulse = dpulse;
verbose.review.traces.r_phase = r_phase;


if verbose.level >=3
[pulset, rsampint, rout, resp_max, cumsumh, sumh, h, ...
npulse, dpulse, r_phase, verbose.fig_handles(end+1)] = ...
tapas_physio_get_respiratory_phase( ...
fr,rsampint, verbose.level);
else
r_phase = tapas_physio_get_respiratory_phase(fr,rsampint, 0);
end
Expand Down

0 comments on commit be4f449

Please sign in to comment.