[Eeglablist] EEG data structure error
Senaka Amarakeerthi
senakahks at gmail.com
Mon Feb 13 15:42:26 PST 2017
Dear members,
I am using an emotiveEEG headset and the signal was converted to a BCILAB
compatible data structure.
It works fine with the following code
* mrks ={'1','2'};*
* wnds = [0.25 0.3;0.3 0.35;0.35 0.4; 0.4 0.45;0.45 0.5;0.5 0.55;0.55 0.6];*
*myapproach = {'Windowmeans' 'SignalProcessing', {'EpochExtraction',[0
0.8],'SpectralSelection',[0.1 15]},
'Prediction',{'FeatureExtraction',{'TimeWindows',wnds}}};*
*[trainloss,lastmodel,laststats] =
bci_train('Data',train_data,'Approach',myapproach,'TargetMarkers',mrks);*
But when i use folliowing approach, it gives and error.
* mrks ={'1','2'};*
*myapproach = {'Bandpower'
'SignalProcessing',{'EpochExtraction',{'TimeWindow',[0
3.5],'EventTypes',mrks}}};*
*[trainloss,lastmodel,laststats] =
bci_train({'data',traindata,'approach',myapproach});*
The error is :
Error using arg_define>arguments_to_nvps (line 507)
Some of the specified arguments do not appear in the argument
specification; {'EventTypes', 'invalid
sequence of names and structs'}.
Error in arg_define (line 179)
nvps =
arguments_to_nvps(caller_name,fmt,vals,structmask,flat_names,first_names,skip*leading_skippable);
Error in set_makepos (line 64)
Any help is highly appreciated.
<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=senakahks@gmail.com&idSignature=22>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170214/9d718d95/attachment.html>
More information about the eeglablist
mailing list