[FieldTrip] Splitting EEG

Conny Quaedflieg cornelia.quaedflieg at uni-hamburg.de
Wed Sep 20 22:51:57 CEST 2017

Dear Hamed, 

You can use ft_select data with cfg.latency 


Van: Hamed Taheri
Verzonden: woensdag 20 september 2017 20:12
Aan: fieldtrip at science.ru.nl
Onderwerp: [FieldTrip] Splitting EEG

Hello Fieldtrip users,

I have a continues EEG data ( 80 seconds) and I would like to analyze some part of it.
For instance, I want to analyse seconds 20 to 25 ( 5 seconds).
Would you please let me know how can I select my times of interest.
I've written a simple code but I don't know how can I split the data. 

cfg    = [];
cfg.dataset = '........  .eeg';
data_org                = ft_preprocessing(cfg); %Original Data

% Step1:  Filtering Row Data
cfg                        = [];
cfg.bpfilter            = 'yes';
cfg.bpfreq             = [1 30];
data_Filtered        = ft_preprocessing(cfg,data_org); 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170920/f0bc3018/attachment-0002.html>

More information about the fieldtrip mailing list