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
Next revision Both sides next 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 [2012/10/31 15:03]
131.174.45.83 [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 =====