<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Dear Ksenia,</div><div><br></div><div>I would first start with the organization of the data in a format FieldTrip can sense. </div><div>data = [];</div><div>data.trial ={[chan x time]} % this is your elec x topography matrix, where topography is observed on consecutive time points</div><div>data.time = [vector-number of time points];</div><div>data.label = {‘elec1’,’elec2’ etc.} your electrode labels</div><div>data.elec = this is key reflecting the position of the electrodes relative to the head</div><div><br></div><div>Next, you have to compute a volume conduction model. How to do so is explained here: <a href="http://www.fieldtriptoolbox.org/tutorial/headmodel_eeg?s[]=eeg&s[]=volume&s[]=conduction&s[]=model">http://www.fieldtriptoolbox.org/tutorial/headmodel_eeg?s[]=eeg&s[]=volume&s[]=conduction&s[]=model</a></div><div>After this you can proceed with the dipole fitting which is explained for instance here: <a href="http://www.fieldtriptoolbox.org/tutorial/natmeg/dipolefitting#fit_a_dipole_model_to_the_meg_data">http://www.fieldtriptoolbox.org/tutorial/natmeg/dipolefitting#fit_a_dipole_model_to_the_meg_data</a></div><div>Under cfg.latency you could specify the number of the topography you are interested in and under cfg.vol the BEM model you computed in the previous step. If you don#t have individual MRI</div><div>you can use the standard BEM model located in the ~template/headmodel/standard_bem.mat. Note that before you do so you should coregister the headmodel with the electrodes using</div><div>ft_electroderealign.</div><div><br></div><div>Good luck</div><div>tzvetan</div><div><br></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear fieldtrip users,
<div><br></div><div>I wonder if you can help me out. I have a relatively simple problem: having a topography matrix (where rows correspond to topographies, and columns correspond to channels) I want to fit a dipole to each topography. I have looked through tutorials and documentation and I've seen this example <a href="http://www.fieldtriptoolbox.org/example/compute_forward_simulated_data_and_apply_a_dipole_fit">http://www.fieldtriptoolbox.org/example/compute_forward_simulated_data_and_apply_a_dipole_fit</a>. Still, I can't figure out how I should use the toolbox to solve my problem.</div><div><br></div><div>What would be the right arguments to call ft_dipolefitting with in my case? If I have EEG data, topography matrix and channel locations, what would be the easiest way to fit a dipole to each topography?</div><div><br></div><div>Thank you in advance for any help.</div><div><br></div><div>Ksenia Volkova</div></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></body></html>