Automated rejection and repair of bad trials in MEG/EEG | IEEE Conference Publication | IEEE Xplore