<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; line-height: normal;" lang="EN-US">Dear Fieldtrip Team,</span><span style="mso-ansi-language:EN-US" lang="EN-US"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; line-height: normal;">
<br>
</span></o:p></span>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:12pt;font-family:"Times New Roman", serif;margin-right:0in;margin-left:0in">
<span style="mso-ansi-language:EN-US" lang="EN-US"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; line-height: normal;"><br>
</span></o:p></span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">I would like to extract epoched EEG data from dipole sources in a Region of Interest (ROI). For the forward solution in the source analysis, I reconstructed the sources using the standard
 BEM headmodel (found in the Fieldtrip directory: fieldtrip-20160814\template\headmodel\standard_bem.mat) and computed the leadfield. Now I would like to apply the dipole leadfield weights to extract epoched time-series from dipoles of interest, e.g., all dipoles
 located in the primary motor cortex. In other words, I would like to examine the epoched data in source space (amplitude for each dipole for MVPA analysis, and time-frequency data averaged across the ROI).</span><span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
</span></o:p>Also, we are not sure which leadfield weight to include (dipole orientations).
<br>
</span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">Last, do you have a function that does such weighting correctly to achieve orthogonalization in the contribution of other sources (e.g., nearby to the ROI sources) in order to increase
 specificity.</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> </span></o:p></span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">Perhaps there is an example code or other functions which I have not come across.
<br>
</span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;"><br>
</span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;">We would appreciate your help.</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">
<br>
</span></o:p></span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></o:p></span></p>
<p style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"Times New Roman", serif">
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;font-size:12pt;font-family:"Times New Roman", serif;margin-right:0in;margin-left:0in;margin-bottom:6.0pt;mso-layout-grid-align:none;text-autospace:none">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" lang="EN-US">Regards,</span><span style="mso-ansi-language:EN-US" lang="EN-US"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> </span></o:p></span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;font-size:12pt;font-family:"Times New Roman", serif;margin-right:0in;margin-left:0in;margin-bottom:6.0pt;mso-layout-grid-align:none;text-autospace:none">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" lang="EN-US">Myrto Mantziara</span><span style="mso-ansi-language:EN-US" lang="EN-US"><o:p><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> </span></o:p></span></p>
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
--------------------<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Myrto Mantziara
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">PhD Candidate</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">School of Psychology</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Bangor University</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">United Kingdom</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Email: m.mantziara@bangor.ac.uk</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">Lab Website: sites.google.com/site/kkornysheva/</span></div>
<div><span style="font-size:11pt; font-family:"Calibri Light","Helvetica Light",sans-serif">School Social Media: https://www.bangor.ac.uk/psychology/social-media.php.en</span></div>
<br>
</div>
</div>
</div>
</div>
<p> </p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="top" style="padding:15px 0;">
<p><strong>Mae croeso i chi gysylltu gyda'r Brifysgol yn Gymraeg neu Saesneg</strong></p>
<p><strong>You are welcome to contact the University in Welsh or English</strong></p>
<p><strong>Rhif Elusen Gofrestredig 1141565 - Registered Charity No. 1141565</strong></p>
<p>Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r
 anfonwr ar unwaith a dilewch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio a defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid
 yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost
 hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor.</p>
<p>This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s),
 you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of Bangor University. Bangor University does not guarantee that this email or any attachments
 are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office.</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>