[FieldTrip] freqanalysis

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Mon Feb 3 09:19:35 CET 2014


Hi Victoria,

is there anything wrong with the code you used below? By smoothing, do 
you refer to smoothing in the frequency domain?

Best,
Jörn


On 1/30/2014 11:33 AM, Victoria Schröder wrote:
> Hello
>
> I am currently working on a freqanalysis as a first step to do a 
> connectivityanalysis. I am a bit unsure about the method to use for 
> the freqanalysis. My stimuli are very long: between 29 and 30 sec. In 
> total i have 4 stimuli per condition and 2 seperate conditions. I am 
> looking at the beta range so fairly low frequencies.
>
> this is my code:
> Am i using the right taper and method. Should i smooth the data? and 
> if so, what should such a smoothing parameter depend on?
>
> %fourier analysis
> cfg=[];
> cfg.output='fourier';
> cfg.method='mtmfft';
> cfg.foi=[12:30];
> cfg.taper='hanning';
> cfg.keeptrials='yes';
> cfg.channel={'C15' 'C10' 'B23' 'B3'};
> frefourier=ft_freqanalysis(cfg,data_clean);
>
>
> %coherence analysis
> cfg=[];
> cfg.method='coh';
> cfg.channelcmb={'B3'  'C15'
>                 'B3'  'C10'
>                 'B23' 'C15'
>                 'B23' 'C10'}
> coherence=ft_connectivityanalysis(cfg, frefourier);
>
>
> Thank you very much for the suggestions!
> Best
> Victoria
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip


-- 
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Contact:
E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands




More information about the fieldtrip mailing list