Back to the main page.
Bug 865 - ft_appendfreq should not call checkdata with hassampleinfo
Status | CLOSED FIXED |
Reported | 2011-08-11 15:13:00 +0200 |
Modified | 2011-08-18 09:58:11 +0200 |
Product: | FieldTrip |
Component: | documentation |
Version: | unspecified |
Hardware: | PC |
Operating System: | Windows |
Importance: | P1 normal |
Assigned to: | Eelke Spaak |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Eelke Spaak - 2011-08-11 15:13:03 +0200
Email from Cheng-Hua: And the error message seems to ask for sampling frequency information from me. I added data.fsample = 600, the same message still occurs. -- ??? Cell contents reference from a non-cell array object. Error in ==> fixsampleinfo at 77 offset(i) = time2offset(data.time{i}, data.fsample); Error in ==> ft_checkdata at 579 data = fixsampleinfo(data); Error in ==> ft_appendfreq at 59 varargin{i} = ft_checkdata(varargin{i}, 'datatype', 'freq', 'feedback', 'yes', 'hassampleinfo', 'ifmakessense'); -- --> This is the data frame I stick in: realSPno_TFR_planar_cmb = label: {274x1 cell} dimord: 'chan_freq_time' freq: [1x15 double] time: [1x17 double] powspctrm: [274x15x17 double] cumtapcnt: [79x15 double] grad: [1x1 struct] cfg: [1x1 struct] fsample: 600