autoreject / autoreject

Automated rejection and repair of bad trials/sensors in M/EEG

Home Page:https://autoreject.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ENH] Add `transform` to `RejectLog`

alexrockhill opened this issue · comments

It would be nice to have the RejectLog be able to transform epochs, especially if it is modified as in #266. It could also be saved and loaded, I think tsv might be nice if that's desirable. I want to plan this out a bit so I don't do things that aren't helpful.

I actually like this better than all the other suggestions ;-) How about:

ar.transform(reject_log=reject_log)

This does not touch the algorithm and takes any post-hoc modifications under the umbrella. Enthusiastic +1 !