[FieldTrip] Error with Precprocessing LFPs

Ausaf Bari ausafb at gmail.com
Thu Feb 12 23:13:34 CET 2015


Can someone explain what this error means?


Reading data .....
Scaling data .....
Reading Event Table...
Warning: events imported with a time shift might be innacurate
Warning: Matrix is singular to working precision.
> In ft_preproc_polyremoval at 76
  In fieldtrip-20150212/private/preproc at 315
  In ft_preprocessing at 590
Warning: Matrix is singular to working precision.
> In ft_preproc_polyremoval at 76
  In ft_preproc_baselinecorrect at 49
  In fieldtrip-20150212/private/preproc at 348
  In ft_preprocessing at 590


The error occurs after "data=ft_preprocessing(cfg)":

cfg                         = [];
cfg.dataset                 = 'file.cnt';
cfg.trialfun = 'ft_trialfun_general';
cfg.trialdef.eventtype      = 'trigger';
cfg.trialdef.eventvalue     = [11 12 21 22 31 32 41 42 51 52];
cfg.trialdef.prestim    = -1;
cfg.trialdef.poststim    = .5;
cfg = ft_definetrial(cfg);

cfg.channel={'channel2' 'channel3'};
cfg.demean ='yes';
cfg.reref        = 'yes';
cfg.implicitref  = [];
cfg.refchannel   = {'channel3'};
data = ft_preprocessing(cfg);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150212/f5fb4eeb/attachment-0001.html>


More information about the fieldtrip mailing list