Back to the main page.

Bug 402 - too many warnings on sampleinfo field when converting ERF into raw data structure with 1 trial

Status CLOSED FIXED
Reported 2011-01-16 23:20:00 +0100
Modified 2011-02-02 13:26:40 +0100
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:

Robert Oostenveld - 2011-01-16 23:20:34 +0100

this is an example from the tutorial, in which case there is actually nothing to be alarmed about >> cfg = []; cfg.planarmethod = 'sincos'; avgFICplanar = ft_megplanar(cfg, avgFIC); the input is timelock data with 149 channels and 900 timebins Warning: the trial definition in the configuration is inconsistent with the actual data > In public/private/fixtrialdef at 68 In ft_checkdata at 559 In ft_megplanar at 110 Warning: failed to create sampleinfo field > In public/private/fixtrialdef at 78 In ft_checkdata at 559 In ft_megplanar at 110 minimum distance between gradiometers is 2.66 cm maximum distance between gradiometers is 26.39 cm average number of neighbours is 5.562914 processing trial 1 from 1 Warning: the trial definition in the configuration is inconsistent with the actual data > In public/private/fixtrialdef at 68 In ft_checkdata at 559 In ft_checkdata>raw2timelock at 1611 In ft_checkdata at 238 In ft_megplanar at 270 Warning: failed to create sampleinfo field > In public/private/fixtrialdef at 78 In ft_checkdata at 559 In ft_checkdata>raw2timelock at 1611 In ft_checkdata at 238 In ft_megplanar at 270


Jan-Mathijs Schoffelen - 2011-01-28 10:19:22 +0100

I changed the warnings into warning_once. TODO: preprocessing of the tutorial data with a recent version of FT, and save the results to disk, i.e. /home/common/etc.. I'll close this bug and file a new one for this