Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:how_can_i_process_continuous_data_without_triggers [2010/04/15 11:08]
timeng
faq:how_can_i_process_continuous_data_without_triggers [2017/08/17 11:21] (current)
Line 1: Line 1:
-{{tag>​preprocessing raw faq}}+{{tag>​preprocessing ​continuous ​raw faq}}
  
 ====== How can I process continuous data without triggers? ====== ====== How can I process continuous data without triggers? ======
Line 20: Line 20:
   cfg = [];   cfg = [];
   cfg.dataset ​             = '​yourfile.ext';​   cfg.dataset ​             = '​yourfile.ext';​
-  cfg.trialfun ​            = 'trialfun_general';+  cfg.trialfun ​            = 'ft_trialfun_general';
   cfg.trialdef.triallength = 1;                   % in seconds   cfg.trialdef.triallength = 1;                   % in seconds
   cfg.trialdef.ntrials ​    = inf;                 % i.e. the complete file   cfg.trialdef.ntrials ​    = inf;                 % i.e. the complete file
Line 28: Line 28:
   data = ft_preprocessing(cfg);​   data = ft_preprocessing(cfg);​
  
-This uses the **trialfun_general** function to segment the data. This function is included in FieldTrip, type //help trialfun_general//​ for more details.+This uses the **ft_trialfun_general** function to segment the data. This function is included in FieldTrip, type //help trialfun_general//​ for more details.
  
 =====  An example for making overlapping segments ===== =====  An example for making overlapping segments =====