irenne / MARA

EEGLAB Plug-In for automatic artifact rejection
https://irenne.github.io/artifacts/
GNU General Public License v3.0
16 stars 3 forks source link

Code to change automatical removal percentage. #2

Closed DiogoAABranco closed 3 years ago

DiogoAABranco commented 4 years ago

Dear Irenne,

From what I understood MARA marks components as artifacts for rejection when the percentage is above 50%, where can I changed it so it only marks above 70%?

Thank you!

DiogoAABranco commented 4 years ago

Found in a previous post, I will leave it here for someone else who needs it:

EEG.reject.gcompreject = zeros(size(EEG.reject.gcompreject)) EEG.reject.gcompreject(EEG.reject.MARAinfo.posterior_artefactprob > 0.70) = 1