[FieldTrip] FW: problem with my data
Ahmadi Shapourabadi, Maryam (Dr.)
ma447 at leicester.ac.uk
Wed Nov 19 14:00:30 CET 2014
________________________________
From: Ahmadi Shapourabadi, Maryam (Dr.)
Sent: Wednesday, November 19, 2014 12:48 PM
To: fieldtrip at science.ru.nl
Subject: FW: problem with my data
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20141119/42898710/attachment-0002.html>
More information about the fieldtrip
mailing list