-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ENH(mne.Report): add section parameters to .add_raw, .add_epochs and .add_evoked #13801
Description
Describe the new feature or enhancement
Hi! Thanks for the amazing work on MNE-Python :)
I'm wondering if there's any reason the .add_raw, .add_epochs and .add_evoked methods of mne.Report don't support the section parameter supported by many other methods in the same class.
If there's no design reason why this option is omitted, would you accept a PR to add this parameter in all these places?
Thanks!
Describe your proposed implementation
Add the section parameter to the .add_raw, .add_epochs and .add_evoked methods of mne.Report (and potentially others that lack it?)
Describe possible alternatives
This would be a useful change because I want to group my report sections by run, and right now it's not possible (let me know if there's a workaround though!)
I guess the alternative is leaving the current methods as they are, but I'm not sure if there's any principled reason why they shouldn't be grouped into sections.
Additional context
No response