rmart#
- rmart(datafile, outfile, nchans, chanlist, eogchan, threshold=80.0, *, format=None)#
Remove threshold-triggered EOG artifacts from a float32 data file.
chanlistandeogchanuse EEGLAB-facing one-based channel numbers. The input and output are channel-major float32 matrices stored in MATLAB column order. The corrected selected channels are returned as well as written tooutfile.This implements the intended 40-lag local regression described by EEGLAB’s legacy
rmartrather than its currently unreachable processing branch. ICA or ASR is generally preferable for new analyses.