Skip to content

Commit

Permalink
update heplab_slowdetect
Browse files Browse the repository at this point in the history
added round() line 52
  • Loading branch information
perakakis committed Nov 7, 2019
1 parent f5abd08 commit d939894
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Functions/heplab_save_events.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
[EEG.event(1,k+1:k+length(HEP.qrs)).type] = types{:}; % assign types
[EEG.event(1,k+1:k+length(HEP.qrs)).urevent] = urevents{:}; % assign event index


% save new set
[ALLEEG,EEG,CURRENTSET] = pop_newset(ALLEEG,EEG,CURRENTSET);
clear k evt urevents types
Expand Down
2 changes: 1 addition & 1 deletion Functions/heplab_slowdetect.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

% start slow algorith
% find peak
step = 0.200*fs;
step = round(0.200*fs);
area = 2*fs;
ret = 0.160*fs;

Expand Down

0 comments on commit d939894

Please sign in to comment.