[FieldTrip] About a demo prog in fieldtrip- ERP analysis

陈立翰 (Lihan Chen) clh at pku.edu.cn
Fri Nov 24 00:57:47 CET 2017




Dear colleagues

 

I am learning to use fieldtrip to analysis eyetracking data.


And i found this demo very helpful.

 

http://www.fieldtriptoolbox.org/example/use_simulated_erps_to_explore_cluster_statistics


However, when i run this command:

difference = ft_math(cfg, timelock1, timelock2);

 

it generated the following and i can not go through the whole demo

"Warning: timelock structure contains field with and without repetitions 
selecting these fields that have repetitions: trial
removing these fields that do not have repetitions: avg, dof, var
Warning: timelock structure contains field with and without repetitions 
selecting these fields that have repetitions: trial
removing these fields that do not have repetitions: avg, dof, var
Error using ft_notification (line 340)
the requested parameter is not present in the data

Error in ft_error (line 39)
  ft_notification(varargin{:});

Error in ft_math (line 151)
    ft_error('the requested parameter is not present in the data');"

 

Would you please kindly find time to instruct how to make it run so that i can how a look how the final results look like?
By the way, if i have 12 subjects, with two conditions ('congruent', 'incongruent'). Each condition has 1000 data points (1 second),
so that how is the cfg.design i should make?


Thank you very much in advance!

Best,
Lihan chen

Peking
Uiversity


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20171124/11d43d2c/attachment.html>


More information about the fieldtrip mailing list