# No BEM surfaces found

**URL:** <https://mne.discourse.group/t/no-bem-surfaces-found/728>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [May 16, 2014, 10:55pm UTC](https://mne.discourse.group/t/no-bem-surfaces-found/728 "2014-05-16T22:55:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 16, 2014, 10:55pm UTC](https://mne.discourse.group/t/no-bem-surfaces-found/728/1 "2014-05-16T22:55:54Z")

</div>

Hello,

I?m trying to run mne\_do\_forward\_model on the SPM dataset. I get the  
following error

aleggitt at cerebrum:~$ mne\_do\_forward\_solution --meas  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
--mri /data/users/alanData/SPM-face/subjects/SPM/mri/T1-neuromag/sets/COR.fif  
--bem /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem.fif

mne\_forward\_solution version 2.9 compiled at Jan 6 2011 02:25:30

Source space :  
/data/users/alanData/SPM-face/subjects/SPM/bem/SPM-7-src.fif  
MRI -\> head transform source :  
/data/users/alanData/SPM-face/subjects/SPM/mri/T1-neuromag/sets/COR.fif  
Measurement data :  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
BEM model :  
/data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem.fif  
Accurate field computations  
Do computations in head coordinates.  
Free source orientations  
Destination for the solution :  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D-7-fwd.fif

Reading /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-7-src.fif...  
Read 2 source spaces a total of 6382 active source locations

Coordinate transformation: MRI (surface RAS) -\> head  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.000000 0.000000 0.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 1.000000 0.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 1.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 0.000000 1.00

Read 274 MEG channels from  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Read 29 MEG compensation channels from  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Coordinate transformation: MEG device -\> head  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.997940 -0.049681 -0.040594 -1.35 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.054745 0.989330 0.135013 -0.41 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.033453 -0.136957 0.990012 65.80 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 0.000000 1.0057 coil definitions read5  
compensation data sets in  
/data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Head coordinate coil definitions created.  
Source spaces are now in head coordinates.

Setting up the BEM model using  
/data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem-sol.fif...

Loading surfaces...  
No BEM surfaces found in  
/data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem-sol.fif  
Forward computation failed (see above)

Prior to running this, I?ve successfully run the following commands

mne\_setup\_mri  
mne\_watershed\_bem  
mne\_setup\_foward\_model --surf

mne\_setup\_source\_space

Am I missing a step or do I need to modify my options for  
mne\_do\_forward\_model?

Thanks,  
Alan  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140516/4e61e5af/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140516/4e61e5af/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 17, 2014, 1:53am UTC](https://mne.discourse.group/t/no-bem-surfaces-found/728/2 "2014-05-17T01:53:12Z")

</div>

Hi Alan,

There is an example about how to process the face data using mne\_python.  
Please see the link,  
[https://martinos.org/mne/stable/auto\_examples/datasets/plot\_spm\_faces\_dataset.html](https://martinos.org/mne/stable/auto_examples/datasets/plot_spm_faces_dataset.html)  
for your reference.  
I do not try it.

Junpeng Zhang  
2014-05-17

junpeng.zhang

???Alan \<leggitta3 at [gmail.com](http://gmail.com)\>  
???2014-05-17 06:55  
???[Mne\_analysis] No BEM surfaces found  
???"mne\_analysis at nmr.mgh.harvard.edu"\<mne\_analysis at nmr.mgh.harvard.edu\>  
???

Hello,  
I?m trying to run mne\_do\_forward\_model on the SPM dataset. I get the following error

aleggitt at cerebrum:~$ mne\_do\_forward\_solution --meas /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif --mri /data/users/alanData/SPM-face/subjects/SPM/mri/T1-neuromag/sets/COR.fif --bem /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem.fif

mne\_forward\_solution version 2.9 compiled at Jan 6 2011 02:25:30

Source space : /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-7-src.fif  
MRI -\> head transform source : /data/users/alanData/SPM-face/subjects/SPM/mri/T1-neuromag/sets/COR.fif  
Measurement data : /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
BEM model : /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem.fif  
Accurate field computations  
Do computations in head coordinates.  
Free source orientations  
Destination for the solution : /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D-7-fwd.fif

Reading /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-7-src.fif...  
Read 2 source spaces a total of 6382 active source locations

Coordinate transformation: MRI (surface RAS) -\> head  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.000000 0.000000 0.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 1.000000 0.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 1.000000 -0.00 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 0.000000 1.00

Read 274 MEG channels from /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Read 29 MEG compensation channels from /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Coordinate transformation: MEG device -\> head  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.997940 -0.049681 -0.040594 -1.35 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.054745 0.989330 0.135013 -0.41 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.033453 -0.136957 0.990012 65.80 mm  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000000 0.000000 0.000000 1.00  
57 coil definitions read  
5 compensation data sets in /data/users/alanData/SPM-face/MEG/SPM\_CTF\_MEG\_example\_faces1\_3D.fif  
Head coordinate coil definitions created.  
Source spaces are now in head coordinates.

Setting up the BEM model using /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem-sol.fif...

Loading surfaces...  
No BEM surfaces found in /data/users/alanData/SPM-face/subjects/SPM/bem/SPM-20480-20480-20480-bem-sol.fif  
Forward computation failed (see above)

Prior to running this, I?ve successfully run the following commands

mne\_setup\_mri  
mne\_watershed\_bem  
mne\_setup\_foward\_model --surf

mne\_setup\_source\_space

Am I missing a step or do I need to modify my options for mne\_do\_forward\_model?  
Thanks,  
Alan  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20140517/6ae9f3d0/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140517/6ae9f3d0/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 18, 2014, 8:07am UTC](https://mne.discourse.group/t/no-bem-surfaces-found/728/3 "2014-05-18T08:07:20Z")

</div>

hi,

and the shell script used for the anatomical pipeline is there:

[https://github.com/mne-tools/mne-scripts/tree/master/spm\_face](https://github.com/mne-tools/mne-scripts/tree/master/spm_face)

HTH,  
Alex
