Skip to content

Commit 589f80c

Browse files
committed
removed one more call to the statistics toolbox
1 parent d30efe1 commit 589f80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/I2MC/getFixations.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
% during fixation
3838

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

4242
% get boolean of fixations
4343
fixbool = finalweights < cutoff;

0 commit comments

Comments
 (0)