methlabUZH / automagic

Automagic
GNU General Public License v3.0
89 stars 32 forks source link

How to use only notch from PREP? #54

Open ramBrain opened 2 years ago

ramBrain commented 2 years ago

Dear developers,

The current implementation of Automagic allows to choose whether PREP should be run with or without line noise removal. I was wondering whether the opposite was possible, i.e. choose to only perform the cleanline without going through the bad channels detection?

Thank you for your help.

Kind regards, Ramtin

ksgfan commented 2 years ago

Hi Ramtin,

I don't think it is possible in automagic and I've never tested it, but have you tried deselect PREP in automagic and add [EEGClean, lineNoise] = removeLineNoise(EEGNew, params); from prepPipeline.m to preprocess.m around the line 215? You should also specify the prep line noise params there.

Best, Dawid