Skip to content

Commit

Permalink
removed one more call to the statistics toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
dcnieho committed Nov 26, 2018
1 parent d30efe1 commit 589f80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/I2MC/getFixations.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
% during fixation

%% first determine cutoff for finalweights
cutoff = nanmean(finalweights) + cutoffstd*nanstd(finalweights);
cutoff = mean(finalweights,'omitnan') + cutoffstd*std(finalweights,'omitnan');

% get boolean of fixations
fixbool = finalweights < cutoff;
Expand Down

0 comments on commit 589f80c

Please sign in to comment.