-
Notifications
You must be signed in to change notification settings - Fork 34
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
[DOC] Example comparing spectral connectivity computed over time or over trials #129
Conversation
Hi @adam2392, here is a draft for an example comparing spectral connectivity computed over time or over trials on simulated data and sample EEG data. |
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.
Thanks for the PR @Avoide ! I left some preliminary review comments to re-organize the code and notes a bit better.
There are also some style failures on the CI. Do you mind fixing those? You can run make pep
to check these locally.
@adam2392 I should have fixed the code style errors and have updated the places you mentioned in the review in the new commit |
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.
There are some errors on the CI still: https://github.com/mne-tools/mne-connectivity/actions/runs/4322408221/jobs/7573270726. You can check these locally running make pep
.
Hmm... for some reason the CI build docs is not working. Can you investigate? Does it build properly on your local?
hmm I didn't see those spelling errors when I ran |
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.
Looking good! Leaving some more in-depth review comments now.
For now, the cirlceCI is failing due to some upstream issues in mne-python. Can you add mne-qt-browser to the requirements_doc.txt
file for the circleCI to correctly build the documentation?
So I'm leaving some additional comments based on rendering the docs locally. Is it possible to add colorbars to the plots?
I updated the example, and also added circleci to the requirement_doc.txt. |
|
Rendered docs: https://output.circle-artifacts.com/output/job/03472a75-4383-47d6-923f-9364a9a1b443/artifacts/0/dev/index.html Very cool! It looks a lot better now. I'll take a closer look later. |
So it seems that circleCI always blocks your docs build because perhaps you haven't connected your GH account to there :(. Any chance you can just create an account and then the docs build should proceed without someone in the future explicitly running it? (Annoying feature, but I guess there for security) Xref: https://support.circleci.com/hc/en-us/articles/360037744473-What-is-an-Unregistered-User- Can you also add the colorbar title? |
Sure, I just registered my GH at circleCI. Let's see if it works. I also added the label "Connectivity" for the colorbars. Edit: It seems to work automatically now |
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.
Some final nitpicks and then this LGTM for merge.
Some open-ended comments, so lmk if you disagree.
If a comment is resolved/addressed, you can feel free to click the "Resolve conversation" |
Thanks for the all comments. And the practical instructions are also useful to know, as this is my first PR. I have incorporated all your newest comments in the latest commit. |
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.
LGTM
Thanks @Avoide! |
…ver trials (mne-tools#129) * Added example doc for con over time vs over trial * Added mne-qt-browser to req_doc * Added reference bibliography for mirror-game paradigm and theta power among occipital lobe and frontal lobe --------- Authored-by: glia <[email protected]> Co-authored-by: Adam Li <[email protected]>
PR Description
This PR adds an example comparing spectral connectivity over time or trials and closes #70
Merge checklist
Maintainer, please confirm the following before merging: