<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-size: 14.6667px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif;">Hi everyone,</span><br>
</div>
<div dir="ltr">
<div style=""><font color="#201f1e"><span style="font-size:14.6667px"><br>
</span></font></div>
<div style=""><span style="color:rgb(32,31,30); font-size:14.6667px">I was wondering if ft_sourceanalysis has an option to return Fourier coefficients when used to apply a filter to the output of ft_freqanalysis. The source average filter was obtained with
 eLORETA. My config parameters are below, and the output I get is power at every source, for every trial.</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(32, 31, 30); font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif;">I am interested in getting the Fourier coefficients
 at source level to then be able to estimate connectivity (PLV) between sources.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(32, 31, 30); font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif;">Thank you,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color: rgb(32, 31, 30); font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important; font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif;">Ina</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important"><br>
cfg                     = [];
<div>cfg.sourcemodel         = lf_inside;</div>
<div>cfg.sourcemodel.filter  = source_inside.avg.filter;</div>
<div>cfg.output              = 'fourier';</div>
<div>cfg.keeptrials          = 'yes';</div>
<div>cfg.rawtrial            = 'yes';</div>
<div><br>
</div>
source_NF_filt = ft_sourceanalysis(cfg, freqNF_FT);<br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(32,31,30); font-size:14.6667px; background-color:rgb(255,255,255); display:inline!important"><br>
</span></div>
</div>
</body>
</html>