[Eeglablist] Inconsistent results using clean_artifacts

Delorme, Arnaud adelorme at ucsd.edu
Tue Apr 7 07:39:01 PDT 2020


Dear Yarden,

Are you sure you are using the latest version of the clean_rawdata (v2.1) https://github.com/sccn/clean_rawdata
Slight difference due to memory available has been removed by default in this version.

Let us know. I have just tried ASR with this version twice on the same dataset and got identical results.

EEG2 = clean_artifacts(EEG, 'FlatlineCriterion','off','ChannelCriterion','off','LineNoiseCriterion','off','Highpass','off','BurstCriterion',20,'WindowCriterion','off','BurstRejection','on','Distance','Euclidian');
Tmp = rand(10000,10000); % reserve 80Mb of memory
EEG3 = clean_artifacts(EEG, 'FlatlineCriterion','off','ChannelCriterion','off','LineNoiseCriterion','off','Highpass','off','BurstCriterion',20,'WindowCriterion','off','BurstRejection','on','Distance','Euclidian');
isequal(EEG2, EEG3)

1

Best wishes,

Arno

> On Apr 6, 2020, at 2:28 PM, John Johnson <john.johnson at gatech.edu> wrote:
> 
> Hello Yarden,
> 
> ASR's processing depends on the amount of available memory on the computer it is running on.
> To obtain more consistent results, you can specify the amount of memory it should use.
> More here:
> https://sccn.ucsd.edu/wiki/Artifact_Subspace_Reconstruction_(ASR)#The_option_.27availableRAM_GB.27_is_available_to_fix_the_length_of_final_output.
> 
> Regards,
> John
> 
> 
> On 6 Apr 2020, at 7:37, Yarden Ben Horin wrote:
> 
>> Hi all,
>> 
>> My colleagues and I ran into a very strange problem while using eeglab
>> plugin clean_rawData.
>> We tried to use the clean_artifacts function to clean our data, but we got
>> inconsistent result at each run. By inconsistent, the meaning is that
>> different numbers of channels were removed from the data.
>> 
>> The code:
>> EEG_clean = clean_artifacts(EEG,
>> 'FlatlineCriterion',5,'ChannelCriterion',0.8,'LineNoiseCriterion',4,'Highpass','off','BurstCriterion',20,'WindowCriterion','off','BurstRejection','off','Distance','Euclidian');
>> 
>> We merely used EEG = pop_eegfiltnew(EEG, 'locutoff',4,'plotfreqz',0);
>> before running clean_artifacts. We ran the code on several computers (all
>> with the latest versions  of eeglab and clean_rawData), and each run on the
>> same dataset produced different result (even on the same computer.)
>> 
>> Does clean_artifacts, or one of its sub functions, not
>> deterministic function?
>> 
>> Hopefully you could help us with this frustrating situation.
>> Many thanks,
>> Yarden Ben Horin.
>> 
>> 
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> בלי
>> וירוסים. www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu



More information about the eeglablist mailing list