Currently, prep02 rejects all epochs flagged as artefactual. Alternatively, trials that have a single channel flagged as bad could be kept and that channel be interpolated. This could easily be implemented via a simple setdiff in line 313. The downside would be that noisy trials with an additionally marked channel would be kept as well.
In addition, I expect that the whole script needs to be heavily modified once eeg_browser replaces eegplot. So we might want to postpone this decision until then.
Currently, prep02 rejects all epochs flagged as artefactual. Alternatively, trials that have a single channel flagged as bad could be kept and that channel be interpolated. This could easily be implemented via a simple
setdiff
in line 313. The downside would be that noisy trials with an additionally marked channel would be kept as well.