Dear Fieldtrippers,<br><br>I have a fairly basic Fieldtrip question; I hope you can point me in the right direction.<br>I'm running a dipole model on the early auditory response (60-90 ms after the click). The dipoloe fit works very well. Just for completeness, these are the lines of code I used:<br>
<br>cfg = [];<br>cfg.numdipoles = 2;<br>cfg.symmetry = 'y';<br>cfg.model = 'regional';<br>cfg.latency = [-0.44 -0.41];<br>cfg.vol = vol;<br>cfg.inwardshift  = 0;<br>source = dipolefitting(cfg,erf{1});<br><br>
% visualize where the dipoles are<br>figure(1); clf; headmodelplot(cfg,erf{1})<br>hold on; <br>plot3([source.dip.pos(1,1)],[source.dip.pos(1,2)],[source.dip.pos(1,3)],'ro');<br>plot3([source.dip.pos(2,1)],[source.dip.pos(2,2)],[source.dip.pos(2,3)],'bo');<br>
<br clear="all">I have fitted the dipole over a 30 msec window. But now, I would like to plot the response of these dipoles for the whole time window sampled. <br>In other words, I would like to use the coordinates obtained from the dipole fitting procedure, and use them as 'virtual sensors' to reduce the dimensionality of my data from 275 channel time courses to 2. I don't want to use the dipole moments, because they're only defined within the 30 ms that I used to calculate my dipole.<br>
I suppose I have to project my data through the dipoles, but I'm not sure how. Any help is greatly appreciated!<br><br>Best wishes,<br>Floris<br><br>--<br>Floris de Lange<br><a href="http://www.florisdelange.com">http://www.florisdelange.com</a><br>

<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>