Thank you Stephan, just one thing, why i need a time window big enough? so i'm just studying the frequency.<br><br>Best,<br><br>Mikel<br><br><div class="gmail_quote">2012/3/27 Stephan Moratti <span dir="ltr"><<a href="mailto:smoratti@psi.ucm.es">smoratti@psi.ucm.es</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Dear Mikel,<div><br></div><div>I understand that you should do a mtmfft with a center frequency of interest (in your case cfg.foil = [11 11]) and then you do a frequency smoothing of 3 Hz (cfg.tapsmofrq = 3). Of course you need a time window big enough to allow such a smoothing. The CSD should represent a frequency window of 8 to 14 Hz then. Then you put the result of the mtmfft into the dics beamformer.</div>
<div><br></div><div>Best,</div><div><br></div><div>Stephan</div><div> <br><div><div>El 27/03/2012, a las 11:19, Ion Lavado escribió:</div><br><blockquote type="cite"><div><div class="h5"><span>Hello, i'm having problems trying the beamformer analysis with a frequency band of interest. I would like to have for example an interval like [8 14] Hz. My concept problem is about the cfg.frequency and cfg.tapsmofrq  values. (it must be a escalar, but i want a frequency band). </span><div>

<br></div><div>%FREQ ANALYSIS</div><div><div>cfg = [];</div><div>cfg.method    = 'mtmfft';</div><div>cfg.output    = 'powandcsd';</div><div>cfg.tapsmofrq = 5;</div><div>cfg.foilim    = [8 14];</div>
<div>freq_words_alpha = ft_freqanalysis(cfg, words);</div></div><div><br></div><div><br></div><div>%SOURCE ANALYSIS</div><div><div>cfg              = []; </div><div>cfg.frequency    = 11;  </div><div>
cfg.lambda=0;</div><div>cfg.method       = 'dics';</div><div>cfg.coordsys       = 'neuromag';</div><div>cfg.projectnoise = 'yes';</div><div>cfg.grad            =  freq_words_alpha.grad;</div><div>
cfg.channel   = {'MEG'}; </div>
<div>cfg.grid         = grid; </div><div>cfg.reducerank      = 2;</div><div>cfg.vol          = vol02;</div><div>vol02=ft_convert_units(vol02,'cm');</div><div>source_pre11  = ft_sourceanalysis(cfg,  freq_words_alpha );</div>

</div><div><br></div><div><br></div><div>I use a cfg.frequency of 11 but i don't have really clear what i'm doing as a get the same result using cfg.frequency=11 but a freqanalysis in [10 12]. I would be very grateful if someone could solve my doubt.</div>

<div><br></div><div>Best wishes,</div><div><br></div><div>Mikel</div></div></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote>
</div><br><div>
<div style="word-wrap:break-word"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
<br>________________________________________________________</div><div>Stephan Moratti, PhD<br><br></div><div>see also: <a href="http://web.me.com/smoratti/" target="_blank">http://web.me.com/smoratti/</a><br><br></div><div>
Universidad Complutense de Madrid</div><div>Facultad de Psicología</div><div>Departamento de Psicología Básica I</div><div>Campus de Somosaguas</div><div>28223 Pozuelo de Alarcón (Madrid)</div><div>Spain</div><div><br></div>
<div>and</div><div><br></div><div>Center for Biomedical Technology</div><div>Laboratory for Cognitive and Computational Neuroscience</div><div>Parque Científico y Tecnológico de la Universidad Politecnica de Madrid<br>Campus Montegancedo</div>
<div>28223 Pozuelo de Alarcón (Madrid)</div><div>Spain<br><br><br>email: <a href="mailto:smoratti@psi.ucm.es" target="_blank">smoratti@psi.ucm.es</a><br>Tel.:    <a href="tel:%2B34%20679219982" value="+34679219982" target="_blank">+34 679219982</a><br>
<br></div></span></div></span></div></span></div></span></div>
</div>
<br></div></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br>