[Mne_analysis] Questions about visualization the coregistration

daisy smartcandies at 163.com
Thu Oct 20 02:49:03 EDT 2016
Search archives:

Here are documents in bem folder:
sample-head.fif
inner_skull.surf 
outer_skin.surf
outer_skull.surf
watershed


I compute BEM surfaces with mne watershed_bem
And then use mkheadsurf and mne_surf2bem  to obtain -head.fif
Then -trans.fif was created by mne_analyze

Then I check .surf with mne.viz.plot_bem, it was rcorrect.
Then I want to check .trans :

import os
os.environ['ETS_TOOLKIT'] = 'qt4'
os.environ['QT_API'] = 'pyqt'
from pyface.qt import QtGui, QtCore

%gui qt
trans='/Users/daisy/Documents/Experiment/feeback_face_meg/S1/zouinyou-trans.fif'
fname_epochs ='/Users/daisy/Documents/Experiment/feeback_face_meg/S1/face_bp2_30-epo.fif'
info = mne.io.read_info(fname_epochs)
mne.viz.plot_trans(info, trans, subject=subject, dig=True,
                  meg_sensors=True, subjects_dir=subjects_dir)


-Daisy


> On Oct 20, 2016, at 2:27 PM, Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr> wrote:
> 
> hi Daisy,
> 
> what you have in the bem folder of your subject?
> 
> cf. subjects/sample/bem
> 
> for mne sample data.
> 
> what command did you run successfully before?
> 
> Alex
> 
> On Thu, Oct 20, 2016 at 6:02 AM, daisy <smartcandies at 163.com> wrote:
>> Hello,
>> 
>> I am trying to compute head model and forward solution according to this
>> tutorial:http://martinos.org/mne/stable/auto_tutorials/plot_forward.html
>> 
>> 
>> But I got an error called ‘surface with id 4 not found’ when I  visualize
>> the coregistration using mne.viz.plot_trans.
>> 
>> Could anyone give any suggestions?
>> 
>> Thank you !
>> 
>> - Daisy
>> 
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>> 
>> 
>> The information in this e-mail is intended only for the person to whom it is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you in
>> error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>> 
> 
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis





More information about the Mne_analysis mailing list