<div dir="ltr">Dear all<div><br></div><div><br></div><div>This may be simple to answer, since I am quite new to the area and keep struggling with the tutorials at the main website. So here we go:</div><div><br></div><div>I want to use Fieltrip in Matlab (Windows) to:</div>
<div><br></div><div><br></div><div>1. Compute the leadfield at a set of electrodes positioned in the scalp based on a BEM model of the head (something along the line of <a href="http://fieldtrip.fcdonders.nl/tutorial/headmodel_eeg">http://fieldtrip.fcdonders.nl/tutorial/headmodel_eeg</a> plus correct use of the ft_prepare_leadfield function)</div>
<div><br></div><div>So, what is confusing me is that say I have a head model / volume and the set of electrodes (result of following <a href="http://fieldtrip.fcdonders.nl/tutorial/headmodel_eeg">http://fieldtrip.fcdonders.nl/tutorial/headmodel_eeg</a> ), then if I do</div>
<div><br></div><div><div><i>pos = [0 0 0.5];<br></i></div><div><i> </i></div><div><i>cfg = [];<br></i></div><div><i>cfg.grid.pos = pos;<br></i></div><div><i>gridp = ft_prepare_sourcemodel(cfg, vol, elec_aligned);</i></div>
<div><i><br></i></div><div><i>cfg = [];</i></div><div><i>cfg.vol = vol;</i></div><div><i>cfg.elec = elec_aligned;</i></div><div><i>cfg.grid = gridp;</i></div><div><i>grid = ft_prepare_leadfield(cfg);</i></div></div><div>
<i><br></i></div><div><i>lf_openmeeg = grid.leadfield{1};</i></div><div><br></div><div>I get the leadfield at the electrode locations. However, how do I get the actual potential at the electrodes if, say, I have dipole magnitudes and moments. Is the solution simply </div>
<div><br></div><div>V = <i>lf_openmeeg * (magnitudes * moments)</i></div><div><i><br></i></div><div><i>??</i></div><div><br></div><div><br></div><div>2. Can I use Fieltrip to obtain a set of simulated EEG channels with brain rhythms? I was thinking of using available waveforms from the internet of intracraneal recordings as one of the inputs, however I woudl still need dipole positions / orientations (moments).</div>
<div><br></div><div>Any ideas how to do this?</div><div><br></div><div><br></div><div>Thanks in advance</div><div>Toni</div><div><br></div></div>