<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Thomas,<div><br></div><div>you might have solved it. In case not, I changed :</div><div>cfg.relnoise = 5;</div><div><br></div><div>and the amplitude of the baseline signal to</div><div><br></div><div>cfg.dip.amplitude = .1; </div><div><br></div><div>and it worked. You simulate the location at 9 0 6 and it comes out (NAI) at 90.5 -.5 59.5 (see attached). </div><div><br></div><div>best </div><div>tzvetan</div><div><br></div><div><br></div><div><img height="353" width="927" apple-width="yes" apple-height="yes" apple-inline="yes" id="A876BC50-0372-4AA4-AA96-6D4AF786EA5B" src="cid:B3D3192E-9520-4BE7-8667-120FC22FB8F0"></div><div><br></div><div><div><blockquote type="cite">hi,<br><br>i wanted to see whether i can simulate a dipole with the data provided by the tutorial and use the DICS beamformer to see where the source gets projected.<br><br>the code i used is in the attached file.<br><br>it expects the data you can download from here: <a href="ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/beamformer/">ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/beamformer/</a><br><br>in a folder called "beamformer".<br><br>the puzzling thing is that i do not seem to manage to have it project the sources anywhere near to the original dipole in the simulation. the center of the head bias come out nicely if neither baseline correction or NAI calculation is used. i also checked whether the the coordinate system of the volume and the grid i generate match. i also checked whether the chosen dipole shows up at the correct location when i plot it on the head model.<br><br>so, my question is: what do i not get here? maybe there is something wrong with my script? maybe ft_dipolesimulate is not supposed to be used that way?<br><br>i would really appreciate any suggestions.<br><br>best,<br>thomas<br><br>ps: i also tried with eloreta and a simple dipole fit. the results look slightly different but not really any better...<br><br>-- <br>Dr. Thomas Hartmann<br><br>Centre for Cognitive Neuroscience<br>FB Psychologie<br>Universität Salzburg<br>Hellbrunnerstraße 34/II<br>5020 Salzburg<br><br>Tel: +43 662 8044 5109<br>Email: <a href="mailto:thomas.hartmann@th-ht.de">thomas.hartmann@th-ht.de</a><br><br>"I am a brain, Watson. The rest of me is a mere appendix. " (Arthur Conan Doyle)<br><br><span><test_for_list.m></span>_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>