Skip to content

Commit 4a211e4

Browse files
authored
Update uf_continuousArtifactDetectASR.m
1 parent 6ea3f61 commit 4a211e4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/uf_toolbox/uf_continuousArtifactDetectASR.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
% 'cutoff : Standard deviation cutoff for removal of bursts (via ASR). Data portions whose variance
1616
% is larger than this threshold relative to the calibration data are considered missing
1717
% data and will be removed. Default: 20 (following Chang 2019)
18-
% 'tolerance' : Tolerance what to remove, default is 1e⁻10 as
19-
% implemented in the clean_rawdata toolbox, but larger
20-
% value might be more appropriate. Note
18+
% 'tolerance' : Tolerance what to remove, default is 1e⁻5. This differs to the
19+
% implementation in the clean_rawdata toolbox (1e-10) but we found it better
2120
% Output:
2221
% winrej: winrej matrix flagging artifactual segments of data.
2322
% Use with UF_CONITUOUSARTIFACTREJECT
@@ -26,7 +25,7 @@
2625
cfg = finputcheck(varargin,...
2726
{'channel','integer',[],[];...
2827
'cutoff','real',[],20;...
29-
'tolerance','real',[],1e-10;
28+
'tolerance','real',[],1e-5;
3029
},'mode','error');
3130
if ischar(cfg)
3231
error(cfg)

0 commit comments

Comments
 (0)