Back to the main page.

Bug 742 - incorrect handling of defaults in ft_freqanalysis

Status CLOSED FIXED
Reported 2011-06-08 11:11:00 +0200
Modified 2011-06-08 14:48:13 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2011-06-08 11:11:06 +0200

The following fails: cfg = []; cfg.method = 'mvar'; mfreq = ft_freqanalysis(cfg, mdata); the input is mvar data 'mvar' has not been implemented yet in the specest toolbox, the old implementation is being used computing MAR-model based TFR processing timewindow 1 from 1 ??? Reference to non-existent field 'keeptrials'. Error in ==> ft_freqanalysis at 814 if strcmp(cfg.keeptrials, 'yes') && isfield(data, 'trialinfo'),