-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ENH: Add param to report.add_epochs to report reject/flat #12396
Comments
Hello @larsoner , I am Forcha Pearl from Cameroon. It's a pleasure meeting you. I would love to participate in GSOC 2024 under mne-tools, Please is this what you mean ? @fill_doc
def add_epochs(
self,
epochs,
title,
*,
psd=True,
projs=None,
image_kwargs=None,
topomap_kwargs=None,
drop_log_ignore=("IGNORED",),
tags=("epochs",),
replace=False,
+ reject=epochs.reject,
): |
Not exactly -- I actually don't think we need any new parameter, but should just automatically always add a subsection that is basically the contents of this: So just a new mne-python/mne/report/report.py Line 3939 in ae6e55e
Probably need one for |
Hello @larsoner, this is my first time trying to solve an issue. From what I understood, is this correct? and sorry if I'm totally incorrect.
|
Something like that. Not sure what |
Originally posted by @hoechenberger in mne-tools/mne-bids-pipeline#839 (comment)
In other words,
epochs.reject
and maybeepochs.flat
could be useful to allow opt-in to reporting inadd_epochs
so people know what rejection has been done. See linked PR for how it's done in MNE-BIDS-Pipeline for example.The text was updated successfully, but these errors were encountered: