trentool / TRENTOOL3

Open-Source MATLAB toolbox for transfer entropy estimation
http://trentool.github.io/TRENTOOL3/
GNU General Public License v3.0
56 stars 26 forks source link

Compatible with fieldtrip #33

Open aliekhlasi opened 4 years ago

aliekhlasi commented 4 years ago

Hello Which one of fieldtrip versions compatible with trentool to calculate transfer entropy in time series? I have full of errors in fieldtrip functions when I use TEsurrogatestats .m.

like these:

Error in getdimord>warning_dimord_could_not_be_determined (line 665) newline_pos=find(full_content==newline);

Error in getdimord (line 631) warning_dimord_could_not_be_determined(field, data);

Error in makessense (line 40) dimord = getdimord(data, datfield{i});

Error in ft_datatype_raw (line 89) hassampleinfo = makessense(data, 'sampleinfo');

Error in ft_checkdata (line 268) data = ft_datatype_raw(data, 'hassampleinfo', hassampleinfo);

thanks for your attention