<div dir="ltr"><div>Thank you all for help!</div><div><br></div><div>I&#39;ve tried to use mne.scale_bem to scale the 3 layer bem-sol file but not successful, so I suppose that I need to first make a 3-layers -bem file, then scale it using mne.scale_bem, and then use the scaled -bem file to make a bem-sol file right?</div><div><br></div><div>In my study, I have only EEG data from biosemi and standard electrode location files, and I want to do the source localization in a template brain. When I use EEGlab or BESA, they all try to adjust/warp the standard sensor locations to fit the template head shape. But in MNE, I need to scale the head as well as all their related bem files and labels to continue the forward modeling. It looks far more complicated than the former way, I am just wondering is there any way similar (and maybe easier) in MNE for EEG sensor alignment in a template brain? </div><div><br></div><div>Thanks so much.</div><div><br></div><div>Mengting</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-31 10:25 GMT-04:00 Christian Brodbeck <span dir="ltr">&lt;<a href="mailto:christianbrodbeck@nyu.edu" target="_blank">christianbrodbeck@nyu.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Exactly, when you scale an MRI any bem file with a path corresponding to bem/{subject}-*-bem.fif should also be scaled. If you already scaled your brains you can create the bem for fsaverage and then use mne.scale_bem (<a href="http://martinos.org/mne/stable/generated/mne.scale_bem.html#mne.scale_bem" target="_blank">http://martinos.org/mne/stable/generated/mne.scale_bem.html#mne.scale_bem</a>) to scale the bem for your already existing scaled brains.<br>
<span class="HOEnZb"><font color="#888888"><br>
Christian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
&gt; On Oct 31, 2014, at 7:04, Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr">alexandre.gramfort@telecom-paristech.fr</a>&gt; wrote:<br>
&gt;<br>
&gt; maybe Christian can comment but to me you should first compute the BEM<br>
&gt; model for average brain and then scale it. So you call<br>
&gt; mne_watershed_bem only once on your template.<br>
&gt;<br>
&gt; HTH<br>
&gt; Alex<br>
&gt;<br>
&gt; On Thu, Oct 30, 2014 at 7:22 PM, Liu Mengting &lt;<a href="mailto:bigting84@gmail.com">bigting84@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Thanks, but then I have another question, after I co-registered using<br>
&gt;&gt; mne.gui.coregistration, I need a 3-layer BEM for EEG forward modeling,<br>
&gt;&gt; Usually I use mne_watershed_bem to create one with the infomation in<br>
&gt;&gt; template brain, but I cannot find the any MRI files in the brain/subject<br>
&gt;&gt; folder I scaled, thus I am not able to make a BEM using the brain I<br>
&gt;&gt; coregistered, can you let me know how to use the co-registered brain to make<br>
&gt;&gt; 3-layer BEM please?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; Mengting<br>
&gt;&gt;<br>
&gt;&gt; 2014-10-30 4:21 GMT-04:00 Alexandre Gramfort<br>
&gt;&gt; &lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr">alexandre.gramfort@telecom-paristech.fr</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt;&gt; hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have a basic question about coregistration in EEG forward modeling<br>
&gt;&gt;&gt;&gt; using<br>
&gt;&gt;&gt;&gt; fsaverage brain, when I tried to align the EEG channels and fMRI by<br>
&gt;&gt;&gt;&gt; mne.gui.coregistration, it seems to scale the head shape to fit the<br>
&gt;&gt;&gt;&gt; electrode;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; this is correct.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; but when I made the alignment using mne_analyze, it seems to move<br>
&gt;&gt;&gt;&gt; and scale the electrodes to fit the head shape. So are these two way the<br>
&gt;&gt;&gt;&gt; same?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; mne_analyze does not support template brains. So it does not<br>
&gt;&gt;&gt; scale anything but just find the best translation+rotation to fit the<br>
&gt;&gt;&gt; scalp surface<br>
&gt;&gt;&gt; to the electrode positions.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Alex<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Also, when I set fiducials in mne_analyze, the coordinates of<br>
&gt;&gt;&gt;&gt; LAP/NASION/RAP will always have a 400 mm (which was definitly wrong)when<br>
&gt;&gt;&gt;&gt; I<br>
&gt;&gt;&gt;&gt; clicked on where I want to set the fiducials on the head surface, and I<br>
&gt;&gt;&gt;&gt; also<br>
&gt;&gt;&gt;&gt; am not able to type in the coordinates by hand, does it sound correct?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; thanks,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Mengting<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Mne_analysis mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt;&gt;&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The information in this e-mail is intended only for the person to whom<br>
&gt;&gt;&gt;&gt; it is<br>
&gt;&gt;&gt;&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt;&gt;&gt;&gt; e-mail<br>
&gt;&gt;&gt;&gt; contains patient information, please contact the Partners Compliance<br>
&gt;&gt;&gt;&gt; HelpLine at<br>
&gt;&gt;&gt;&gt; <a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you<br>
&gt;&gt;&gt;&gt; in<br>
&gt;&gt;&gt;&gt; error<br>
&gt;&gt;&gt;&gt; but does not contain patient information, please contact the sender and<br>
&gt;&gt;&gt;&gt; properly<br>
&gt;&gt;&gt;&gt; dispose of the e-mail.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Mne_analysis mailing list<br>
&gt;&gt;&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt;&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Mne_analysis mailing list<br>
&gt;&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt;&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt;&gt; e-mail<br>
&gt;&gt; contains patient information, please contact the Partners Compliance<br>
&gt;&gt; HelpLine at<br>
&gt;&gt; <a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in<br>
&gt;&gt; error<br>
&gt;&gt; but does not contain patient information, please contact the sender and<br>
&gt;&gt; properly<br>
&gt;&gt; dispose of the e-mail.<br>
&gt;&gt;<br>
<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</div></div></blockquote></div><br></div>