# Autoreject computation time

**URL:** <https://mne.discourse.group/t/autoreject-computation-time/11557>\
**Category:** Support & Discussions\
**Created:** [October 29, 2025, 9:28am UTC](https://mne.discourse.group/t/autoreject-computation-time/11557 "2025-10-29T09:28:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarieStormR](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mariestormr/32/4508_2.png) [@MarieStormR](https://mne.discourse.group/u/MarieStormR)\
**Post date:** [October 29, 2025, 9:28am UTC](https://mne.discourse.group/t/autoreject-computation-time/11557/1 "2025-10-29T09:28:27Z")

</div>

I’m currently analysing MEG data from over 200 subjects. My goal is to identify and reject bad channels using _autoreject_, perform ICA to remove blink-related components, and then reject bad epochs based on peak-to-peak amplitude criteria for both gradiometers and magnetometers.

However, when testing this _autoreject → ICA_ pipeline on two subjects, the computation time was extremely long. Could you suggest a more efficient or scalable approach — for example, by adjusting _autoreject_ parameters or using _RANSAC_ instead? I’m particularly interested in whether RANSAC would be less computationally demanding while providing comparable results.

Thanks a lot for your help!

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/a/a8433255fd38db636f25295dd9c8402d0f205b1c.png)

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/e/eafe0ef5d51ed878ed36c3ac836795281cfcf033.png)

---

<div class="post-metadata">

**Author:** ![mainakjas](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mainakjas/32/34_2.png) [@mainakjas](https://mne.discourse.group/u/mainakjas)\
**Post date:** [November 9, 2025, 8:19am UTC](https://mne.discourse.group/t/autoreject-computation-time/11557/2 "2025-11-09T08:19:19Z")

</div>

Hi,

Sorry for the slow response. You can try to use autoreject (global), that get\_rejection\_threshold function that returns a rejection dictionary and can be provided to the ICA functions in MNE.

Hope that helps,  
Mainak
