Issues with activation disappearing during source localization
See original GitHub issueWe are attempting to run source localization on our MEG data set, via jupyter notebook.
We get as far as:
subjects_dir = data_path + '/subjects'
brain = stc.plot(surface='inflated', hemi='lh', subjects_dir=subjects_dir)
brain.set_data_time_index(350)
brain.scale_data_colormap(fmin=8, fmid=12, fmax=15, transparent=True)
brain.show_view('lateral')
brain.save_image('dspm.jpg')
from IPython.display import Image
Image(filename='dspm.jpg', width=600)
Every time we run this, the output window pops up, shows the activation on the brain, then the activation disappears and the window crashes.
We tried to save the image as well, and the activation is not present on the image (it’s just the template brain).
Thank you for any help!
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
EEG Source Imaging: A Practical Review of the Analysis Steps
The electroencephalogram (EEG) is one of the oldest technologies to measure neuronal activity of the human brain.
Read more >Review on solving the inverse problem in EEG source analysis
In this primer, we give a review of the inverse problem for EEG source localization. This is intended for the researchers new in...
Read more >Tutorials/SourceEstimation - Brainstorm
Brainstorm features a simple localization approach that adjusts the parameters of a single current dipole fitted to the sensor data at each ...
Read more >Unmixing Oscillatory Brain Activity by EEG Source ... - Hindawi
In this study, we elaborate on the investigations into source-based signal decomposition of EEG. Using source localization, the electrical brain signal is ...
Read more >“Hit the missing stimulus”. A simultaneous EEG-fMRI study to ...
In order to solve the inverse problem of ERP source localization, the fMRI activation spots were used to constrain the number and spatial ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Did you try using
time_viewer=True
?Doing just
Image(filename='dspm.jpg', width=600)
without assigning it (likeimg = Image(filename='dspm.jpg', width=600)
) is probably causing it to be immediately garbage-collected and thus closed