Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
example:import_mne [2018/10/21 15:04]
42.49.180.224 [How to import data from MNE-Python and FreeSurfer]
example:import_mne [2018/05/30 15:57] (current)
robert created example page that explains how to import data from MNE
Line 3: Line 3:
 ====== How to import data from MNE-Python and FreeSurfer ====== ====== How to import data from MNE-Python and FreeSurfer ======
  
-{{:​example:​import_mne.png?​nolink&​amp;400|}} +{{:​example:​import_mne.png?​nolink&​400|}} 
-&lt;code&gt;+<code>
  
 % This script was made by Mikkel Vinding, based on code that is courtesy of Bushra Riaz Syeda % This script was made by Mikkel Vinding, based on code that is courtesy of Bushra Riaz Syeda
Line 50: Line 50:
  
 % Check if exists % Check if exists
-if isfile(src_outFname) &amp;&amp; ~overwrite+if isfile(src_outFname) && ~overwrite
     continue     continue
 end end
  
-%% Read transformation (head -&​gt; ​MRI)+%% Read transformation (head -MRI)
 trans_orig = fiff_read_coord_trans(transfname);​ trans_orig = fiff_read_coord_trans(transfname);​
 % In FieldTrip every thing is in head cordinate therefore in next line we are inverting the transformation % In FieldTrip every thing is in head cordinate therefore in next line we are inverting the transformation
Line 130: Line 130:
 save(hdm_outFname,​ '​headmodel',​ '​-v7.3'​);​ save(hdm_outFname,​ '​headmodel',​ '​-v7.3'​);​
 disp('​DONE'​) disp('​DONE'​)
-&lt;/code&gt;+</code