[FieldTrip] FW: problem with my data
Ahmadi Shapourabadi, Maryam (Dr.)
ma447 at leicester.ac.uk
Wed Nov 19 16:23:42 CET 2014
Dear Johanna,
Thanks for your reply.
I tried it but got the same error:
cfg=ft_databrowser(cfg,avgdata2)
??? Error using ==> ft_checkdata at 442
This function requires raw+comp or raw data as input.
Error in ==> ft_databrowser at 257
data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'},
'feedback', 'yes', 'hassampleinfo', 'yes');
Bests,
Maryam
________________________________
From: fieldtrip-bounces at science.ru.nl [fieldtrip-bounces at science.ru.nl] on behalf of Johanna Zumer [johanna.zumer at gmail.com]
Sent: Wednesday, November 19, 2014 2:52 PM
To: FieldTrip discussion list
Subject: Re: [FieldTrip] FW: problem with my data
Dear Maryam,
It should be:
cfg=ft_databrowser(cfg,avgdata2)
not
cfg=ft_databrowser(avgdata2,cfg)
Best,
Johanna
2014-11-19 12:48 GMT+00:00 Ahmadi Shapourabadi, Maryam (Dr.) <ma447 at leicester.ac.uk<mailto:ma447 at leicester.ac.uk>>:
Dear Sir/Madam,
I am new to feildtrip and I wanted to start analyzing my data using the field trip. I have 64 channels of EEG recordings and I tried to convert my data to fieldtrip cell type to be able to browse the data using ft_databrowser, but there is a problem and I am not sure if it because of my data format or some other problems. I have reported the error and the structure of my data in the following.
Please do me a favor and check my data and help me with this issue.
Regards,
Maryam
________________________________
From: Ahmadi Shapourabadi, Maryam (Dr.)
Sent: Tuesday, November 18, 2014 6:20 PM
To: fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>
Subject: problem with my data
Dear Sir/Madam,
I have tried to browse my data in fieldtrip but have got the following error:
cfg=ft_databrowser(avgdata2,cfg)
??? Warning: Struct field assignment overwrites a value with class "single".
See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details.
> In utilities\private\ft_preamble_provenance at 54
In ft_preamble at 54
In ft_databrowser at 138
??? Error using ==> ft_checkdata at 462
This function requires raw+comp or raw data as input.
Error in ==> ft_databrowser at 261
data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'},
'feedback', 'yes', 'hassampleinfo', 'yes');
This is my data:
ftdata2 =
trial: {1x251 cell}
time: {1x251 cell}
fsample: 512
label: {1x64 cell}
trial is single. I changed to double by the command 'double', but I got similar error:
cfg=ft_databrowser(avgdata2,cfg)
??? Warning: Struct field assignment overwrites a value with class "single".
See MATLAB 7.0.4 Release Notes, Assigning Nonstructure Variables As Structures Displays Warning for details.
> In utilities\private\ft_preamble_provenance at 54
In ft_preamble at 54
In ft_databrowser at 138
??? Error using ==> ft_checkdata at 462
This function requires raw+comp or raw data as input.
Error in ==> ft_databrowser at 261
data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'},
'feedback', 'yes', 'hassampleinfo', 'yes');
detail of my data:
ftdata2.trial
ans =
Columns 1 through 3
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 4 through 6
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 7 through 9
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 10 through 12
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 13 through 15
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 16 through 18
...
ftdata2.trial
ans =
Columns 1 through 3
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 4 through 6
[64x1024 single] [64x1024 single] [64x1024 single]
Columns 7 through 9
....
ftdata2.fsample
ans =
512
Could you please help me with this problem?
Regards,
Maryam
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20141119/0c330b62/attachment-0002.html>
More information about the fieldtrip
mailing list