Signal with no LinearClassifier

Post Reply
kimtaehyun
Posts: 1
Joined: 04 Apr 2016, 04:44

Signal with no LinearClassifier

Post by kimtaehyun » 04 Apr 2016, 05:32

I use Emotiv which is 14 input. and also use ARSignalProcessing for signal processing,
and modify the PipeDefinition.cpp code to deny LinearClassifier.

without LinearClassifier I got the raw data.
with this code.
------------------------------------------------------
#include <iostream>
#include "SockStream.h"

using namespace std;

int main( int argc, char** argv )
{
const char* address = "localhost:5000";
if( argc > 1 )
address = argv[ 1 ];

receiving_udpsocket socket( address );
sockstream connection( socket );
string line;
// Print each line of BCI2000 input to stdout.
while( getline( connection, line ) )
cout << line << endl;

return 0;
}
------------------------------------------------------

raw data is like this.

FixationViolated 0
GazeCorrectionMode 0
TargetCode 0
ResultCode 0
Feedback 0
PauseApplication 0
CursorPosX 0
CursorPosY 0
CursorPosZ 0
EmotivGyroX 32800
EmotivGyroY 32656
EmotivCQCMS 1
EmotivCQDRL 1
EmotivCQFP1 0
EmotivCQAF3 0
EmotivCQF7 0
EmotivCQF3 0
EmotivCQFC5 0
EmotivCQT7 0
EmotivCQP7 0
EmotivCQO1 0
EmotivCQO2 0
EmotivCQP8 0
EmotivCQT8 0
EmotivCQFC6 0
EmotivCQF4 0
EmotivCQF8 0
EmotivCQAF4 0
EmotivCQFP2 0
Running 1
Recording 1
SourceTime 61217
StimulusTime 61204
Signal(0,0) 8.7042
Signal(0,1) 9.1572
Signal(0,2) 10.2682
Signal(0,3) 11.4319
Signal(0,4) 12.1843
Signal(0,5) 12.3219
Signal(0,6) 11.8858
Signal(0,7) 11.0747
Signal(0,8) 10.0562
Signal(0,9) 8.98699
Signal(0,10) 7.94881
Signal(1,0) 11.5595
Signal(1,1) 11.6871
Signal(1,2) 11.9586
Signal(1,3) 12.1257
Signal(1,4) 11.9858
Signal(1,5) 11.4854
Signal(1,6) 10.6995
Signal(1,7) 9.75221
Signal(1,8) 8.75282
Signal(1,9) 7.78009
Signal(1,10) 6.88426
Signal(2,0) 14.1992
Signal(2,1) 14.0348
Signal(2,2) 13.5316
Signal(2,3) 12.6938
Signal(2,4) 11.5918
Signal(2,5) 10.3528
Signal(2,6) 9.10508
Signal(2,7) 7.93738
Signal(2,8) 6.8947
Signal(2,9) 5.99348
Signal(2,10) 5.23644
Signal(3,0) 12.7067
Signal(3,1) 12.676
Signal(3,2) 12.5222
Signal(3,3) 12.1176
Signal(3,4) 11.3944
Signal(3,5) 10.4087
Signal(3,6) 9.29285
Signal(3,7) 8.17308
Signal(3,8) 7.12897
Signal(3,9) 6.19942
Signal(3,10) 5.39897
Signal(4,0) 14.165
Signal(4,1) 14.0058
Signal(4,2) 13.488
Signal(4,3) 12.5602
Signal(4,4) 11.2831
Signal(4,5) 9.83938
Signal(4,6) 8.4235
Signal(4,7) 7.155
Signal(4,8) 6.07566
Signal(4,9) 5.18379
Signal(4,10) 4.46237
Signal(5,0) 18.4543
Signal(5,1) 17.9584
Signal(5,2) 16.5188
Signal(5,3) 14.368
Signal(5,4) 11.9463
Signal(5,5) 9.67845
Signal(5,6) 7.78358
Signal(5,7) 6.29553
Signal(5,8) 5.16178
Signal(5,9) 4.31136
Signal(5,10) 3.68196
Signal(6,0) 19.9674
Signal(6,1) 19.3341
Signal(6,2) 17.4995
Signal(6,3) 14.8068
Signal(6,4) 11.8871
Signal(6,5) 9.2828
Signal(6,6) 7.21087
Signal(6,7) 5.65455
Signal(6,8) 4.51547
Signal(6,9) 3.69247
Signal(6,10) 3.10426
Signal(7,0) 18.6393
Signal(7,1) 17.9459
Signal(7,2) 15.9491
Signal(7,3) 13.0525
Signal(7,4) 9.97903
Signal(7,5) 7.33224
Signal(7,6) 5.33729
Signal(7,7) 3.95705
Signal(7,8) 3.06947
Signal(7,9) 2.5432
Signal(7,10) 2.25792
Signal(8,0) 18.7482
Signal(8,1) 18.2614
Signal(8,2) 16.4537
Signal(8,3) 13.6375
Signal(8,4) 10.0808
Signal(8,5) 6.94573
Signal(8,6) 4.67502
Signal(8,7) 3.3295
Signal(8,8) 2.61497
Signal(8,9) 2.27398
Signal(8,10) 2.17814
Signal(9,0) 20.3909
Signal(9,1) 19.9008
Signal(9,2) 17.7458
Signal(9,3) 13.7467
Signal(9,4) 9.66156
Signal(9,5) 6.68752
Signal(9,6) 4.77161
Signal(9,7) 3.57204
Signal(9,8) 2.83444
Signal(9,9) 2.4038
Signal(9,10) 2.18022
Signal(10,0) 3.11379
Signal(10,1) 3.06932
Signal(10,2) 2.95143
Signal(10,3) 2.79533
Signal(10,4) 2.63541
Signal(10,5) 2.4942
Signal(10,6) 2.38253
Signal(10,7) 2.30372
Signal(10,8) 2.25725
Signal(10,9) 2.24084
Signal(10,10) 2.25128
Signal(11,0) 217.844
Signal(11,1) 210.576
Signal(11,2) 189.551
Signal(11,3) 158.919
Signal(11,4) 126.176
Signal(11,5) 97.4697
Signal(11,6) 75.0109
Signal(11,7) 58.4012
Signal(11,8) 46.4341
Signal(11,9) 37.9456
Signal(11,10) 32.0251
Signal(12,0) 24.2719
Signal(12,1) 22.3258
Signal(12,2) 18.0055
Signal(12,3) 13.6285
Signal(12,4) 10.1871
Signal(12,5) 7.72752
Signal(12,6) 6.03503
Signal(12,7) 4.89951
Signal(12,8) 4.16763
Signal(12,9) 3.7343
Signal(12,10) 3.52521
Signal(13,0) 22.8838
Signal(13,1) 20.8304
Signal(13,2) 16.7104
Signal(13,3) 12.9653
Signal(13,4) 10.1719
Signal(13,5) 8.18249
Signal(13,6) 6.78512
Signal(13,7) 5.82377
Signal(13,8) 5.19318
Signal(13,9) 4.81997
Signal(13,10) 4.6474

I want to know that Signal(n,m) mean!!

pbrunner
Posts: 344
Joined: 17 Sep 2010, 12:43

Re: Signal with no LinearClassifier

Post by pbrunner » 04 Apr 2016, 11:19

Kimtaehyun,

the Signal variable in the AppConnector the Signal as it comes out of the BCI2000 SignalProcessing pipeline. Specifically, in your case, the output of the ARSignalProcessing which is a pipeline consisting of SpatialFilter, ARFilter, LinearClassifier, LPFilter, ExpressionFilter, and Normalizer. The indexing of the Signal variable is Signal(<channel>,<element>) where the channel and element range depend on the parameters that you use for your signal processing pipeline. For example, if you use the DummySignalProcessing then the Signal will the original signal the channel range specified in the TransmitChannel parameter and the element range specified in the SampleBlockSize parameter. Obviously, if you use the ARSignalProcessing pipeline this will be different. For example, you will narrow down the Signal to the number of control channels and only one element each to drive the CursorTask in the x and y dimension.

http://www.bci2000.org/wiki/index.php/T ... r#Protocol

Regards, Peter

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests