-
Notifications
You must be signed in to change notification settings - Fork 98
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
Gallery example code produces speckled/wrong overlays #319
Comments
For what it's worth, this is how I circumnavigated PySurfer's problem. I simply plotted both overlays independently, saved them to a PIL image and then used PIL's blend function to overlay them. It is cheeky. But it gets the job done. Here is the code:
|
I'd recommend using |
Dear Eric, Thanks for your comment. I fully agree that overlays should be plotted correctly and it does appear that MNE sees more activity than PySurfer these days. After reading your comment on a similar issue a while ago, I in fact posted a question on how to achieve the same result with MNE on their message board. Unfortunately, there were no answers. Cheers, |
Can you open an enhancement request on MNE's issue tracker? To me this is a pretty general request and something we could probably add to |
Done. The feature request can be seen here. Thanks! Oops, there it already is :) GitHub has added it for me. |
Hi,
I would like to display conjunction results in a similar manner as
plot_fmri_conjunction.py
. However, the example codeplot_fmri_conjunction.py
already fails to produce the image shown in the gallery. It produces speckled overlays and the overlap region, which is supposed to be shown in purple, does not show up at all. You can see the result in the attached screenshot on the right.Is anyone familiar with this problem?
Also, I noticed that it produces the warnings shown on the left. I'm unsure if it matters. I tried it with an older version of vtk as well but it did not seem to make any difference.
I'm trying this on Ubuntu 22.04.1 LTS.
My environment.yml for the conda environment looks as follows:
It would be great if you could help.
Thanks,
Michael
PS: The same problem arises with
plot_fmri_activation.py
The text was updated successfully, but these errors were encountered: