-
Notifications
You must be signed in to change notification settings - Fork 177
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
Resting state with dataset and example #400
Conversation
fix: inversion 12 blocks of 5 repetitions
# Conflicts: # moabb/tests/datasets.py
Co-authored-by: Sylvain Chevallier <[email protected]>
- add comments
if "Target" in event_id and "NonTarget" in event_id: | ||
if ( | ||
type(event_id["Target"]) is list | ||
and type(event_id["NonTarget"]) == list | ||
): | ||
event_id_new = dict(Target=1, NonTarget=0) | ||
events = mne.merge_events(events, event_id["Target"], 1) | ||
events = mne.merge_events(events, event_id["NonTarget"], 0) | ||
event_id = event_id_new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sara04, is this related to your issue with the p300?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gcattan, I must say, your code looks really cool!
I have a few questions rather than requests for changes.
First, I would like you to create some testing for the new paradigm. Additionally, could you modify the "dataset_summary" file in the documentation to incorporate information about the new paradigm?
As we plan to expand this dataset category, it would be beneficial to include some introductory text about the new paradigm in this file, maybe a figure if you have it easy. This way, we can attract new users to utilize it.
Thanks, @bruAristimunha. I put here some more comments and additional testing. I do not have a figure ready at the moment, unfortunately. |
Firstly, I want to express my gratitude to both @gcattan and @plcrodrigues for introducing this new paradigm. I have reviewed the tutorial and made a few minor adjustments. These changes primarily focus on improving the formatting and markdown style of the tutorial. I hope you don't mind these final modifications 🙏🏽. Once everything is green, I'll apply the merge =) |
All good to me :) thank you for the last changes :) |
Hey @dengemann, I was thinking, and I think you might like to know that moabb has resting stage dataset, I hope that in the future we can put more public dataset in this category, maybe on your side :) |
I'm not sure if this is well known, but in the They are the runs 1 and 2 as explained here. This might be useful for the I won't have time to do much about it now, but I will leave this low hanging fruit here :-) |
Sounds like a good use case for the GoShoppingDataset ^^ |
This PR introduces a resting state paradigm and a new dataset. An example is provided.
The code is adapted from @plcrodrigues's repository: https://github.com/plcrodrigues/py.PHMDML.EEG.2017-GIPSA
@bruAristimunha @sylvchev FYI