This section of the documentation provides a discussion-like format, answering “How-to” questions.
Please read Preprocessing workflow with autoreject and ICA.
Interpolated data is no different from measured data. It’s what you would expect to see if there were no artifacts in the data. Interpolation is nothing magical. It simply takes a weighted average of the data in the neighboring good channels. Indeed, if the artifact was left in the data, it will bias the source estimate far more than any potential harm that interpolation may pose.
If you do not want autoreject to select a parameter for you, simply pass it as a list of a single element:
>>> ar = AutoReject(n_interpolate=[1], consensus_percs=[0.6])
Note this will still run a cross-validation loop to generate the validation score.
Yes! Simply do:
>>> ar.fit(epochs)
>>> reject_log = ar.get_reject_log(epochs)
No need to run ar.transform(epochs) in this case.