Skip to content

Commit

Permalink
Update uf_continuousArtifactDetectASR.m
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger authored Nov 30, 2022
1 parent 6ea3f61 commit 4a211e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/uf_toolbox/uf_continuousArtifactDetectASR.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
% 'cutoff : Standard deviation cutoff for removal of bursts (via ASR). Data portions whose variance
% is larger than this threshold relative to the calibration data are considered missing
% data and will be removed. Default: 20 (following Chang 2019)
% 'tolerance' : Tolerance what to remove, default is 1e⁻10 as
% implemented in the clean_rawdata toolbox, but larger
% value might be more appropriate. Note
% 'tolerance' : Tolerance what to remove, default is 1e⁻5. This differs to the
% implementation in the clean_rawdata toolbox (1e-10) but we found it better
% Output:
% winrej: winrej matrix flagging artifactual segments of data.
% Use with UF_CONITUOUSARTIFACTREJECT
Expand All @@ -26,7 +25,7 @@
cfg = finputcheck(varargin,...
{'channel','integer',[],[];...
'cutoff','real',[],20;...
'tolerance','real',[],1e-10;
'tolerance','real',[],1e-5;
},'mode','error');
if ischar(cfg)
error(cfg)
Expand Down

0 comments on commit 4a211e4

Please sign in to comment.