irenne/MARA

Code to change automatical removal percentage.

DiogoAABranco opened this issue · 1 comments

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!

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