[Mne_analysis] Using autoreject to compute local threshes impacts the epochs dropped using a global threshold.

Scheltienne Mathieu mathieu.scheltienne at epfl.ch
Wed Apr 7 16:38:33 EDT 2021
Search archives:

        External Email - Use Caution        

Hi,


Not at all. The variable reject used to drop epochs is still the same computed global rejection threshold. In both snippet, it holds the same value, about 4e-5 if I recall correctly.

The difference is that in the second I also compute the local threshes. For some reason, the function compute_threshold modifies the epoch instance, most likely because of the augment parameter (when turned off, I get the same amount of rejected epoch with both snippet).

I am not sure about what this parameter does; and if I want it on or off.


Mathieu

________________________________
From: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> on behalf of Alexandre Gramfort <alexandre.gramfort at inria.fr>
Sent: Wednesday, April 7, 2021 9:59:45 PM
To: Discussion and support forum for the users of MNE Software
Subject: Re: [Mne_analysis] Using autoreject to compute local threshes impacts the epochs dropped using a global threshold.


        External Email - Use Caution

hi,

you are just changing the method to random_search?

did you look at the reject dictionary in both cases?

Alex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20210407/b8df630a/attachment.html 


More information about the Mne_analysis mailing list