You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I really really hate to post general questions on GitHub Issues, but I don't know where else to go. Is there an MNE Python forum? I tried to join the mailing list but I don't think it was successful.
My current question is, what exactly is stc.data?
I know that it's a 2D array of vertices x time and that vertices could be voxels. But I'm not sure if the float values in that array are current density, and what are the XYZ coordinates for each of the 8000+ vertices if they really are voxels. If they are not voxels, then what are they? What units are the values found in stc.data?
We're working on processing EEG data using sLORETA method. We would like to move to MNE Python since using LORETA-KEY and EEGLAB is a pretty slow and manual process. What we’re interested in is getting the xyz coordinates and current density data as well as lobe location, just like the sLORETA Viewer shows, in an automated way. Is there any way we can do this in MNE?
@larsoner Yes, I think that would be very helpful. I'm not 100% sure what else would be good to add off the top of my head right now, but the more EEG-specific documentation (particularly from raw EEG data to source localization data and plotting) there is, the better, I think. I also spent a good bit of time wondering what a .fif file is, where they are expected to come from, and how all that works, coming from an EEGLAB/ERPLAB/sLORETA Viewer workflow.
Outside of using the sample data set and following the available MEG tutorials on the website, I'm a little bit lost in trial and error piecing everything together. Our workflow currently includes .cnt files and .set/.fdt and .txt files from EEGLAB and ERPLAB. My curiosity has been how to implement and automate all of these same steps in MNE Python for EEG data of a somewhat large set of subjects.
Thank you so much for your quick replies and patience!
My preference would be a plot_object_sourceestimate.py like we have for raw/epochs/evoked, or a plot_background_freesurfer.py. I fear "data structures and containers" is too general / broad.
Hey @agramfort I appreciate your optimism ("all the knowledge to explain this") ;)
What I would do now is:
making plot_object_sourceestimate.py (guess this might work)
making plot_background_freesurfer.py - I know and used FreeSurfer a bit outside mne, however I have to dive a bit more into how exactly the steps in mne are - or are you really just interested in FreeSurfer and only FreeSurfer (like using "recon-all" and stuff) - and where which relevant data come from? (e.g. surf folder, labels folder, etc)
Thanks everyone for your efforts and replies. My colleague @deepagupta would be happy to reply here in the event of further questions or discussion regarding documentation or related MNE functions or structures we are using.
We have a bit of this in master now so I'm moving this to 0.18. @jasmainak if you feel like improving the plot_object_stc tutorial this issue has other concepts in it that should be included
Activity
larsoner commentedon Aug 1, 2018
As I mentioned on the mailing list, maybe a good start would be
plot_object_sourceestimate.pythat talks about:.dataincludes.verticesare@corscheid would that help? Are there other things that would be good to add?
Then once this is in, eventually we could expand it to include
VolSourceEstimateand finallyMixedSourceEstimate.corscheid commentedon Aug 1, 2018
@larsoner Yes, I think that would be very helpful. I'm not 100% sure what else would be good to add off the top of my head right now, but the more EEG-specific documentation (particularly from raw EEG data to source localization data and plotting) there is, the better, I think. I also spent a good bit of time wondering what a .fif file is, where they are expected to come from, and how all that works, coming from an EEGLAB/ERPLAB/sLORETA Viewer workflow.
Outside of using the sample data set and following the available MEG tutorials on the website, I'm a little bit lost in trial and error piecing everything together. Our workflow currently includes .cnt files and .set/.fdt and .txt files from EEGLAB and ERPLAB. My curiosity has been how to implement and automate all of these same steps in MNE Python for EEG data of a somewhat large set of subjects.
Thank you so much for your quick replies and patience!
agramfort commentedon Aug 1, 2018
larsoner commentedon Aug 1, 2018
I think there is too much information to cover for it the be appropriate for the FAQ
agramfort commentedon Aug 1, 2018
larsoner commentedon Aug 1, 2018
My preference would be a
plot_object_sourceestimate.pylike we have for raw/epochs/evoked, or aplot_background_freesurfer.py. I fear "data structures and containers" is too general / broad.agramfort commentedon Aug 2, 2018
@TommyClausner I think you have now all the knowledge to explain this.
can you take a stab at this? while you wait for us to review the other PR...
TommyClausner commentedon Aug 2, 2018
Hey @agramfort I appreciate your optimism ("all the knowledge to explain this") ;)
What I would do now is:
plot_object_sourceestimate.py(guess this might work)plot_background_freesurfer.py- I know and used FreeSurfer a bit outside mne, however I have to dive a bit more into how exactly the steps in mne are - or are you really just interested in FreeSurfer and only FreeSurfer (like using "recon-all" and stuff) - and where which relevant data come from? (e.g. surf folder, labels folder, etc)larsoner commentedon Aug 2, 2018
For FS just the parts we use, like high res mesh, decimated mesh, downsampling, upsampling, labels, annotations.
agramfort commentedon Aug 3, 2018
corscheid commentedon Sep 6, 2018
Thanks everyone for your efforts and replies. My colleague @deepagupta would be happy to reply here in the event of further questions or discussion regarding documentation or related MNE functions or structures we are using.
larsoner commentedon Oct 4, 2018
We have a bit of this in
masternow so I'm moving this to 0.18. @jasmainak if you feel like improving theplot_object_stctutorial this issue has other concepts in it that should be includedlarsoner commentedon May 13, 2019
@drammock is this one taken care of? If not, let's add to the documentation TODO list
drammock commentedon May 15, 2019
I would say that this is not yet fully resolved. But I'll cross-link it to #5944, add a note to the roadmap there, and close this one.