<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi everyone,<div><br></div><div>I'm trying to localize oscillatory sources on BESA dat-files.</div><div>I downloaded the standard BEM-Model from the Fieldtrip ftp-server and aligned my electrodes to the BEM using the 'interactive'-method (see attached script 'align_elec.m').</div><div><br></div><div>The thing is that I run into problems when I try to do the actual sourceanalysis (see attached script 'sources_testfile.m'):</div><div><font class="Apple-style-span" face="Arial">Preprocessing and freqanalysis is fine, but then the sourceanalysis crashes.</font></div><div><font class="Apple-style-span" face="Arial"><br></font></div><div><font class="Apple-style-span" face="Arial">This is because  no filters are created for two voxels, because the leadfield contains NaNs.</font></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">Temporarily, I replace the two leadfield voxels (2714 and 2735) with their neighbouring leadfield to run the sourceanalysis smoothly.</font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">It's a quick fix, but of course not ideal.</font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial"><br></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">Does anyone know what goes wrong?</font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial"><br></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">Any help is much appreciated!</font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial"><br></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">Thanks a lot,</font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial"><br></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Courier; "><font class="Apple-style-span" color="#090909"><font class="Apple-style-span" face="Arial">Sibylle</font></font><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "></span></div></div></body></html><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>