<div dir="ltr">Thanks for the answer, <span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">Denis</span>.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 6:22 PM, Denis-Alexander Engemann <span dir="ltr">&lt;<a href="mailto:denis.engemann@gmail.com" target="_blank">denis.engemann@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Peng, <div><br></div><div><br></div><div>one thing,<br><div class="gmail_extra"><br><br><div class="gmail_quote">
<div class="">On Mon, Mar 24, 2014 at 5:26 PM, peng <span dir="ltr">&lt;<a href="mailto:prion.w@gmail.com" target="_blank">prion.w@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you Alex for the reply.<div>1. I suppose you meant freeview is not the optimal tool for visualizing source space of mne. However, I wish to check the source space by visualisation before I move on to source reconstructions. I tried mne_analyze instead of freeview:</div>



<div>1.1 It seemed to detect surfaces generated by freesurfer (such as inflated etc.) automatically, which I can load by &lt;load surfaces...&gt; in the menu; but not those surfaces generated by watershed, even after I copy them to the &lt;surf&gt; subfolder under the subject folder.</div>



<div>1.2 I cannot load -src.fif either in mne_analyze. It complains &#39;Come on, It is not an MEG/EEG measurement file&#39;...</div><div><br></div><div>2. I tried the example in the script you provided (watershed), error happened while Decimating the dense tessellation...</div>




<p>&quot;/Applications/MNE-2.7.4-3378-MacOSX-x86_64/bin/mne_make_scalp_surfaces: line 125: -nojvm: command not found&quot;. I do have &lt;mne_make_scalp_surfaces&gt; file in the path. (Platform: MacOS10.9.2, macbook pro).</p>


</div></blockquote></div><div>that&#39;s part of the matlab command invoked. weird. is your Matlab path specified?</div><div>You can also use the python version `mne make_scalp_surfaces` which produces equivalent decimations.</div>
<span class="HOEnZb"><font color="#888888">

<div><br></div><div><br></div><div>Denis</div></font></span><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<p>3. If my data are MEG instead of EEG, do I still need to use this skin, skull, brain segmentations from watershed or <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">mne_setup_source_space</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> on brain surfaces is already sufficient?</span></p>



<p><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Thank you very much and sorry about so many questions...</span></p><p><br></p></div><div><div><div class="gmail_extra">

<br><br><div class="gmail_quote">
On Fri, Mar 21, 2014 at 9:01 PM, Alexandre Gramfort <span dir="ltr">&lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank">alexandre.gramfort@telecom-paristech.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



hi Peng,<br>
<div><br>
&gt;  I am new to MNE software. I wish to establish source space based on the<br>
&gt; brain surface. I first run recon-all in freesurfer (latest version) to<br>
&gt; generate potentially necessary files for MNE. Then I run<br>
&gt; ===<br>
&gt; mne_setup_source_space --subject &lt;my subject&gt; --ico 4 --overwrite<br>
&gt; ===<br>
&gt; to generate the source locations for a particular subject (&lt;my subject&gt;).<br>
&gt;<br>
&gt; Then I had many files in the /bem folder, including an xxx-rh.pnt file,<br>
&gt; which I assume is the coordinates of these locations in the right<br>
&gt; hemisphere.<br>
<br>
</div>extension of source spaces is &quot;-src.fif&quot;<br>
<br>
a source space is defined relatively to a surface so it&#39;s not common<br>
to try to visualize it with freeview. I am not surprised you have coordinate<br>
alignment problems. But there is nothing to fix.<br>
<br>
basically you&#39;re good to go with the next step.<br>
<br>
For full script for the anatomical pipeline see for example:<br>
<br>
<a href="https://github.com/mne-tools/mne-scripts/blob/master/sample-data/run_anatomy_tutorial.sh" target="_blank">https://github.com/mne-tools/mne-scripts/blob/master/sample-data/run_anatomy_tutorial.sh</a><br>
<br>
HTH<br>
Alex<br>
<div><br>
<br>
<br>
&gt; I then used freeview (part of freesurfer) to load the brain<br>
&gt; image (/mri/brain.mgz) of this subject; and overlap xxx-rh.pnt as dot sets.<br>
&gt; I surprisingly found these dots are not located one the surface of the white<br>
&gt; matter as expected, but much lower (several centimeters).<br>
&gt; If I changed &lt;my subject&gt; with fsaverage (template from freesurfer), and<br>
&gt; re-run the above command, the new generated dots seemed to be on the correct<br>
&gt; place.<br>
&gt; Third, I changed &lt;my subject&gt; with an icbm152 asym template, the result was<br>
&gt; similar to &lt;my subject&gt; : the dots were lower than the image.<br>
&gt;<br>
&gt; So I am a little confused. Shall I do some coordinates transformation to<br>
&gt; align these dots to the mri image? Or it is just a display problem of<br>
&gt; freeview? I quickly browsed the manual and had not find a direct answer yet.<br>
&gt; Thanks a lot for any hint!<br>
&gt;<br>
&gt; best<br>
&gt; Peng<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&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;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the<br>
&gt; e-mail<br>
&gt; contains patient information, please contact the Partners Compliance<br>
&gt; HelpLine at<br>
&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; error<br>
&gt; but does not contain patient information, please contact the sender and<br>
&gt; properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">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>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">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>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div></div></div><br></div></div></div>
<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>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br></blockquote></div><br></div>