<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style></style><style></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Azeez,
<div><br>
</div>
<div>Thanks for getting back to me. Yes I used the same MRI. But since you asked, I went back and double checked all the steps and put together the code as below. I used MRIcro to looked at the source output. The output still doesn't look quite like a brain: <a href="http://imgur.com/Kn3sbgm." target="_blank">http://imgur.com/Kn3sbgm.</a></div>
<div><br>
</div>
<div>Code is here:</div>
<div><a href="https://github.com/sindhri/try_fieldtrip/blob/master/run_data_sample_sent.m" target="_blank">https://github.com/sindhri/try_fieldtrip/blob/master/run_data_sample_sent.m</a></div>
<div><br>
</div>
<div>sample data here: (sorry the link expires in a week)</div>
<div>download password:code</div>
<div><a href="https://files.yale.edu/public_download?shareId=40d6f4c574599585eecaef773c7b927e" target="_blank">https://files.yale.edu/public_download?shareId=40d6f4c574599585eecaef773c7b927e</a></div>
<div><br>
</div>
<div>Thank you very much for your help!</div>
<div><br>
</div>
<div>best,</div>
<div>-jia</div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF876803" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Azeez Adebimpe [azeez.adebimpe5@gmail.com]<br>
<b>Sent:</b> Tuesday, September 01, 2015 5:28 PM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> Re: [FieldTrip] beamformer on EEG data<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Jia,
<div><br>
</div>
<div>Do you interpolate on the same MRI you used for  construct headmodel?</div>
<div>Can you post your matlab code? </div>
<div><br>
</div>
<div>Azeez</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 1, 2015 at 11:20 PM, Wu, Jia <span dir="ltr">
<<a href="mailto:jia.wu@yale.edu" target="_blank">jia.wu@yale.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,
<div><br>
</div>
<div>Here is the most problematic part of my analysis.</div>
<div><br>
</div>
<div>When I did not align electrode positions with headmodel, I was able to get interpolated source signal that resembled a brain.</div>
<div><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__imgur.com_bZkGqsk&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=9ehCplyXHP0-m9ayYv1FOg&m=8aDZNzQKqFKPrBsVo7s9Bcw2_W3DVOh8Z_01ATDCjso&s=Pq7HZiQsFtOT9Nl4SPperxlyaBByDsKFHyM5S32q0DE&e=" target="_blank">http://imgur.com/bZkGqsk</a></div>
<div><br>
</div>
<div>However if I managed to align electrode positions with headmodel, (then build the correct leadfield), the interpolated source did not resemble a brain.</div>
<div><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__imgur.com_XQMyiQy&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=9ehCplyXHP0-m9ayYv1FOg&m=8aDZNzQKqFKPrBsVo7s9Bcw2_W3DVOh8Z_01ATDCjso&s=2nXDThp6Y65bF1-enB75g9fYxxFO6z3poQIyctjGq-Y&e=" target="_blank">http://imgur.com/XQMyiQy</a></div>
<div><br>
</div>
<div>Anybody has a clue what was going on?</div>
<div><br>
</div>
<div>best,</div>
<div>-jia<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b>
<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>] on behalf of Wu, Jia [<a href="mailto:jia.wu@yale.edu" target="_blank">jia.wu@yale.edu</a>]<br>
<b>Sent:</b> Monday, August 31, 2015 4:33 PM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] beamformer on EEG data<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
I'm new to the community and fieldtrip. I'm trying to use beamformer to do oscillatory source localization on some EEG data.<br>
    
<div>I thought I stumbled upon some tutorial specific on this top on the fieldtrip wiki, but I couldn't find it any more. Most source localization materials seem to be for MEG data. And I've been confused about the steps to build a correct headmodel, sourcemodel,
 leadfield based on only EEG information.<br>
<br>
</div>
<div>Anybody has a quick link to the tutorial? If such tutorial doesn't exist I will email the group about my specific questions.<br>
<br>
</div>
<div>best,<br>
-jia</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.science.ru.nl_mailman_listinfo_fieldtrip&d=AwMFaQ&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=9ehCplyXHP0-m9ayYv1FOg&m=8aDZNzQKqFKPrBsVo7s9Bcw2_W3DVOh8Z_01ATDCjso&s=SDcXU6EPMuaMwjujbNEU9iuxnVYcl7-xguabqlYxQSE&e=" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>