New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question on workflow regarding continuous time scalp EEG #231
Comments
hey @adam2392 ! yes this is the right place to ask the questions What will you use these data for? I am assuming for some time-frequency analysis? In that case you might want to make epochs that are long enough to avoid edge artifacts. But the longer you make epochs, the more chances you have of marking them as bad and rejecting them because of an artifact. So it's a bit of a trade-off. If you care only about the detected bad time points/channels you can do something like this: ar = Autoreject(n_interpolates=0)
ar.fit(epochs)
_, reject_log = ar.transform(epochs, return_log=True) this might do the job for you. Since you mentioned ICA, let me also drop this link for you: let me know if this does the job for you. If your workflow needs some small tweaks to the |
also reminds me of this issue: #127 |
@jasmainak I have a few questions:
and then inspect Is there a way to modify that threshold? Thanks!
|
|
Hi,
I wasn't sure where the best place to ask was, so posting here. I have continuous time scalp EEG (not trials of a task) over say 5-10 minutes. These are just resting state EEG of non-seizing epilepsy patients in the EMU. During these 5-10 minutes the subject might move or have periods of very bad artifacts. I have three goals:
i) detect the time points and channels at which these occur
ii) (optionally) repair these time points
iii) downstream, I will use this EEG and feed into ICA to further remove noise artifacts
Question 1:
Rn auto reject operates under the assumption that you have
Epochs
. Would the correct thing to do be: make fixed length epochs and feed it in? How long should my epochs generally be?Question 2:
If I only care about the detected bad time points/channels, would I just do
autoreject.fit()
and then call some private parameter in https://autoreject.github.io/generated/autoreject.AutoReject.html#autoreject.AutoReject?The text was updated successfully, but these errors were encountered: