<div dir="rtl"><div dir="ltr" style="text-align:left">Hi all,<br><font size="2"><br></font></div><div dir="ltr" style="text-align:left"><font size="2">I'm doing source analysis in the frequency domain of a resting-state data.<br> when doing the source analysis, I want to use several frequency bands of interest, such as beta (13-30 Hz) and gamma (30-48 Hz).<br></font></div><div dir="ltr" style="text-align:left"><font size="2">My problem is about the cfg.frequency parameter, which must be a scalar (whereas i'm interested in a </font><font size="2">frequency band). Arbitrarily choosing a frequency in the middle of the range doesn't seem right.</font><br><br></div><div dir="ltr" style="text-align:left">What is the common practice when doing source analysis using this function?<br></div><div dir="ltr" style="text-align:left">Does the cfg.tapsmofrq parameter is supposed to enable choosing frequency band instead of a single peak frequency?<br><br></div><div dir="ltr" style="text-align:left">Any suggestions will be very much helpful!<br><br></div><div dir="ltr" style="text-align:left">Thanks,<br></div><div dir="ltr" style="text-align:left">Noa<i><br></i></div><div style="text-align:left"><br><br></div><div dir="ltr" style="text-align:left"><i>This is the script I’m using:<br><br>    cfg = [];<br>    cfg.method ='mtmfft';<br>    cfg.output ='fourier';<br>    cfg.keeptapers = 'yes';<br>    cfg.foilim = [30 48];<br>    cfg.tapsmofrq = 2; <br>    freqClosed=ft_freqanalysis(cfg,eyesClosed);<br>    <br><br></i></div><div style="text-align:left"><br></div><div dir="ltr" style="text-align:left">    cfg            = [];<br></div><div dir="ltr" style="text-align:left">    cfg.method='pcc';<br></div><div dir="ltr" style="text-align:left">    cfg.frequency  = 39; % must be a scalar<br>    cfg.lambda     = 0;<br>    cfg.vol        = vol;<br>    cfg.grid       = grid;<br>    cfg.feedback   = 'textbar';<br>    cfg.keepfilter='yes';<br>    source1         = ft_sourceanalysis(cfg, freqClosed);<br></div><div style="text-align:left"><br><br>-- <br></div><div style="text-align:left;margin-left:40px" class="gmail_signature"><div dir="rtl"><div dir="ltr">My signature:<br></div></div></div><div style="text-align:left;margin-left:40px" class="gmail_signature"><div dir="rtl"><div><br><a href="http://www.documentarywire.com/earthlings/" target="_blank">http://www.documentarywire.com/earthlings/</a></div></div></div>
</div>