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
Previous revision
workshop:ohbm2018:forward [2018/06/14 17:53]
128.176.186.37 [Background]
workshop:ohbm2018:forward [2018/06/17 08:56] (current)
simon
Line 149: Line 149:
  
 </​code>​ </​code>​
-{{ :workshop:baci2017:mri_segmented_fem.png?600 |}}+{{ :workshop:ohbm2018:ohbm_segmentation5.png?600 |}}
 //Figure8: 5 compartment segmentation output // //Figure8: 5 compartment segmentation output //
  
Line 184: Line 184:
 <code matlab> <code matlab>
 % scalp: 1, skull: 2, csf: 3, gray: 4, wm: 5 % scalp: 1, skull: 2, csf: 3, gray: 4, wm: 5
-ts = 3;+ts = 1;
 figure figure
 mesh2 =[]; mesh2 =[];
Line 319: Line 319:
 %% compute the transfer matrix %% compute the transfer matrix
 [headmodel_fem_meg_tr,​ grad] = ft_prepare_vol_sens(headmodel_fem_meg,​ grad, '​channel',​ MEG_avg.label);​ [headmodel_fem_meg_tr,​ grad] = ft_prepare_vol_sens(headmodel_fem_meg,​ grad, '​channel',​ MEG_avg.label);​
 +</​code>​
 +
 +<code matlab>
 +load headmodel_fem_meg_tr
 +meg_transfer = headmodel_fem_meg_tr.meg_transfer;​
 +headmodel_fem_meg_tr =headmodel_fem_meg;​
 +headmodel_fem_meg_tr.meg_transfer = meg_transfer;​
 </​code>​ </​code>​