Back to the main page.
Bug 3444 - ft_topoplotIC data check error
Status | CLOSED WORKSFORME |
Reported | 2018-08-31 20:33:00 +0200 |
Modified | 2019-08-10 12:36:48 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | PC |
Operating System: | All |
Importance: | P5 normal |
Assigned to: | |
URL: | https://drive.google.com/open?id=1m97dqOfEEC9GbAfq8DFaI7chijX33YPO |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Andrei Foldes - 2018-08-31 20:33:02 +0200
Hello When running the ft_topoplotIC(cfg,comp) it get Error using ft_checkdata (line 525) This function requires 'raw+comp' or 'raw' data as input, see ft_datatype_raw. Error in ft_preprocessing (line 281) data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'}, 'hassampleinfo', 'yes'); Error in topoplot_common (line 395) data = ft_preprocessing(cfg.preproc, data); Error in ft_topoplotIC (line 171) [cfg] = topoplot_common(cfg, comp); eventhough the comp has a sampleinfo field. I tried it with different version and on Mac, Windows and Linux, but to no avail. It ran on my colleagues Mac using 20180810 Fieldtrip.
Jan-Mathijs Schoffelen - 2018-09-03 13:53:08 +0200
please provide us with some data and a snippet of code to reproduce your problem.
Andrei Foldes - 2018-09-03 15:06:35 +0200
Thank you. I will provide a Google Drive link to the data, that includes the cfg, the data and the comp structure: https://drive.google.com/open?id=1m97dqOfEEC9GbAfq8DFaI7chijX33YPO
Jan-Mathijs Schoffelen - 2018-09-03 21:37:39 +0200
sending ~1GB of data is a bit unpractical. In the future, please prune the data such that it is as small as possible in volume, but still in a shape to reproduce your problem.
Jan-Mathijs Schoffelen - 2018-09-03 22:00:35 +0200
I cannot reproduce the problem. Please upload the cfg you use for plotting, and a new data file, with only 10 trials or so: cfg = []; cfg.trials = 1:10; data = ft_selectdata(cfg, data); comp = ft_selectdata(cfg, comp);
Jan-Mathijs Schoffelen - 2018-09-03 22:02:34 +0200
I guessed some layout, and ran into an error that relates to complex-values in the mixing matrix. This latter issue is a user error, which you get when rank-deficient data is subjected to an ICA (this happens for instance when the data are re-referenced to an average reference).