[FieldTrip] Trouble using ft_databrowser

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Fri Dec 23 13:10:10 CET 2016


Hi Mariam,

If you remove the line ‘cfg.viewmode=‘component’ ‘ it should work.

Best wishes and good luck,
Jan-Mathijs


J.M.Schoffelen
Senior Researcher, VIDI-fellow
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands



> On 23 Dec 2016, at 12:52, mariam at nbrc.ac.in wrote:
> 
> Dear FieldTrip Users,
> 
> I have just started working on fieldtrip for analyzing MEG data. I was
> using ft_databrowser and ft_rejectvisual functions for visual rejection of
> artifacts.
> 
> The configuration I have used is as follows:
> cfg = [];
> cfg.viewmode = 'component';
> cfg.continuous = 'no';
> cfg.blocksize = 1;
> cfg.channels = [1:19];
> cfg = ft_databrowser(cfg,data);
> 
> But I am getting following error and the displayed channels are merely a
> line and no signal waveform is visible.
> 
> Reference to non-existent field 'topolabel'.
> 
> Error in ft_databrowser>redraw_cb (line 2042)
>    [sel1, sel2] = match_str(opt.orgdata.topolabel,
>    laychan.label);
> 
> Error in ft_databrowser>winresize_cb (line 2222)
> redraw_cb(h,eventdata);
> 
> Error using figure
> Error while evaluating figure ResizeFcn
> 
> Please help me with the above. Moreover, if you could suggest me a better
> method for visual artifact rejection and visualization, please do.
> 
> Thanks & Regards,
> Mariam Siddiqui
> 
> Senior R & D Engineer (Dr Mandal's Lab),
> Neuroimaging and Neurospectroscopy Laboratory,
> National Brain Research Centre,
> Gurgaon, India
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip







More information about the fieldtrip mailing list