Home

BCI2000 User Manual

image

Contents

1. Eme noa Be A E a E m e r p unction Function 2 metion 3 Function 4 IC Config gt Set Contig gt g 127 0 0 1 System Status System Runnin EEGsource module initialized SignalProcessing module initiali Application module initialized dennis 127 0 0 1 r m Figure 7 Appearance of BCI2000 during operation Figure 7 shows a configuration in which the parameters VisualizeSource and VisualizeTemporalFilter have been selected Also note that the Start button has changed to a Suspend button Clicking on the Suspend button will halt operation If you are creating a new parameter file several of the Configuration menus will need to be dealt with There are two ways of doing this One way is to enter all parameters by hand Another way is to partially configure the system by using parameter file fragments For example the menu shown in Figure 4 lists several parameter files such as 4bars prm and dualmonitor prm 4bars prm contains only those parameters necessary to configure the system for a 4 target task dualmonitor prm contains only those parameters necessary to place the users monitor on the second video screen These two parameter file fragments can be read in succession Since they are fragments only those parameters that they include will be changed Thus some of the work of configuring the system can be done with a series of standard parameter file fragments
2. J fone RA Ay af NEE COUAR fr used i A SourceChT imeO ffset OO J Aunda of Saatiaty Fitarsd Qn S patialFilteredChannels EO o O pn j Spatat Fitter Kenna wens SpatialFilterKernal Edit Matrix Load Matrix Save Matrix J 1 Figure 3 Appearance of the configuration menu Note the tabs at the top of the menu The particular menu shown is that associated with the storage tab There are 10 menu tabs shown in Figure 3 These are Visualize controls the data shown to the human operator during operation Joystick configures possible use of joystick input Storage parameters that control naming of data files Targets configures number size and positioning of targets MEMFilter parameters of AR spectral analysis Source parameters of data acquisition UsrTask parameters of the subjects task Statistics parameters that control automatic adaptive adjustments System parameters that control communication between the four programs Filtering parameters that control signal processing Each of these menus can be selected by clicking on the corresponding tab Also note that the menu shown in Figure 3 shows four additional buttons on the right hand side These are Save Parameters stores parameters in a file Load Parameters inputs parameters from a file Configure Save provides selection of parameters that will not be saved to parameter file Configure Load provides selection of parameters that will not b
3. sk Look in Bm SY Oe Ee Bint gt E dmhSOOORO1 dat 2 dmhSOOOR12 dat O i E dmhS000R02 dat 2 dmhSOOOR13 dat Aee History dmhSOOORO3 dat 2 dmhSOOOR14 dat dmhSOOORO4 dat G dmhS000R05 dat Desktop dmhS000R06 dat dmhS000R07 dat 2 dmhS000R08 dat dmhS000R09 dat dmhSOOOR10 dat dmhSOOOR11 dat My Network po Files of type Bc12000 EEG files 4 DAT x Cancel A lt idle gt A Figure 7 3 The open file dialog Select the BCI2000 data file to view When the main form appears select GO on the upper right of the form 57 Gerv s cool MAXIFRED program 3 3 C 1999 02 for HRI Inc w l a oe A ra File Cxshared screens6 0 1 2000 Screen Channels ie 3 fi Jump To E C BasiiCode Sie ei eRe perro fo a H StinulusTime Copy2Clipboarnd Save2Disk amples 768 3 fi Scaling 1 0 C Feedback i i Active _Eatthernat gad cntie a gt LJ Intertriallnter 00 00 07 00 00 08 00 00 09 00 00 70 O0 c04 1 lt idle gt ae Figure 7 4 Display of BCI2000 data Note the controls at the top of the form The number of channels and points to display can be selected The Jump To button alows the user to advance to a selected trial within the BCI2000 run Scaling controls the Y axis amplitude of the EEG signals There are also arrow buttons that control movement through the record To the immediate left
4. 3 453 3 096 The first column contains the value of SelectedTarget or whatever was entered into Compute means when just prior to when it changed The second column contains the grouping variable and the third column contains the channel number numbered consecutively from the list in the main menu The successive values of the mean waveform follow 49 Other configurations can produce different outputs For example if Compute means when contains the statename StimulusCode separate values will be produced for each row or column intensification and the output will appear as below 9 1 1 11 586 14 158 13 987 10 814 10 042 10 256 10 685 9 1 2 26 773 28 784 27 501 23 865 23 565 23 694 22 710 9 1 3 20 919 22 379 20 232 16 454 16 583 16 626 15 553 9 2 1 0 651 0 507 4 639 6 569 5 797 4 639 2 581 9 2 2 14 925 13 385 18 262 19 801 19 930 19 801 18 518 9 2 3 3 317 1 127 4 991 6 537 6 537 7 696 7 696 5 1 1 5 797 3 481 2 581 4 125 5 025 5 925 6 826 5 1 2 24 036 22 753 22 3608 22 239 20 571 21 598 24 549 5 1 3 19 030 20 028 18 418 15 359 14 715 14 812 14 812 Here the first column is the specific row column the second is the group code target standard and the third column represents the channel number Likewise if Compute means when is blank then an overall mean will be generated for all data in all files included in the run The StateForm menu can also b
5. CheckStateList box is checked a dialog box appears that allows entry of state names Values of the entered states will appear in the output in addition to EEG values 46 If the ProcessControl button is selected the ProcessForm menu appears that allows entry of parameters for spectral analysis BCT Time 92a File fe p300 aah dat a Ti ach eee nee 4 r F E a i Faill m ProcessForm E o HztoEnd 840 If the UseMEM box is checked the output will be in terms of the square root of power in spectral bins as determined with the Burg algorithm 47 The main form also has an Output button which displays the following dialog box OutputForm o oj x Start msec o OutoutOrder parh C CharesTime End msec 1600 C TimesChan lf Overlaphode f Papo apne IW Means for Subgroups Compute Means when SelectedT arget Changes Time Periods Statistics for beans None C pequared C Pearson s 1 In the example the waveform will start at the beginning of the state code and end 600 msec after the initial onset Overlapmode is selected This indicates that values specified above should be retained even if the state values that define grouping are not immediatly present The box Compute means when contains the state name SelectedTarget This indicated that means will be computed every time SelectedTarget changes value Since this happens at the end of a complete series of scans
6. Configuring BCI2000 The first step in configuring BCI2000 involves selection of the data acquisition parameters The Source menu is shown in Figure 8 as it appears when using the DT3000 exe module Configuration gs Mie x Visualize JoyStick Storage Targets MEMFilter Source LstTask Statistics System Filtering Save Parameters dda chaanat a dine Wea Jape Load Parameters AlignChannels J EIRIN ond f igo 2 SAINI ee ClassMode 1 J Gaee Filter d att Aight WARNE ae HLA s ea z Configure Save Edit Matrix Load Matrix Save Matrix J Obes Filter dottitive dip Basen weights Pg Canfique toad MUD Edit Matrix Load Matrix Save Matrix J fhe acer of davies corny aaa NumControlSignals J J any aad ofall eet A one i i sourceChGain 0 003 0 003 0 003 0 003 0 003 0 003 0 003 o J RBE Av charade in AL conte ee sourceChO ffset Joooooooo00000000 fe oie eal see ANNA deat aed tf SourceChT imeOffset 3 E J Auber af Saatiali Filters Grannies er SpatialFilteredChannels 7 z J Soakai Fitter Manas W Bis 2s SpatialFilterKernal Edit Matrix Load Matrix Save Matris Th Figure 8 Appearance of the source menu The source menu contains the following parameters BoardName the name of the Data Translation board as it appears in the driver information BoardNamez2 the name of a second optional Data Translation board SampleBlockSize size of data per channel block for each cycle of
7. fi i lE sA Channel 76 4 dump To _ ResultCode Copy2Clipb a Save2Di J Samples Tr Fo L StimulusT im opy2Clipboar ave2Dis p 768 3 BE aan M Oo B E Feedback aa Oo Edit Channellist load ch file gt gt Intertriallnter RestPeriod x 29 af8 28 af4 f 27 afz 26 af3 25 af f 24 fp2 23 tpz f 22 fp1 21 cp6 20 cp4 19 cp2 F 18 cpz 17 cp1 16 cp3 15 cp5 14 c6 F 13 04 Ar 00 01 55 00 01 56 00 01 57 00 01 58 lt idle gt Figure 7 7 EEG Sample that illustrates a pair of eye blinks that are apparent on channels fp1 af4 22 28 Note that the eyeblinks affect all channels to some extent but are most pronounced in the front of the head near the eyes 60 Gerv s cool MAXIFRED program 3 3 C 1999 02 for HRI Inc File Ic shared screen B C 1 2000 Screen g P f s lle _ TargetCode a BA Coanpen 16 3 Jump To ResultCode Copy2Clipb a S anis Samples 768 2 ni 3j opy2Llpboar ave2zDis P 768 1 Sealing io M a f Ce Eat hareist oad chile E Intertiainter 25 af4 27 afz 26 at3 25 at tf 24 fp2 23 tpz 22 fp1 21 CpB f 20 cp4 fa 19 cp2 18 cpz 17 cp1 16 cp3 15 cps 14 c6 p lt 13 c4 Active 00 01 55 00 01 56 00 01 57 00 01 58 g idle gt Figure 7 8 EMG activity that is particularly pronounced on channels af7 and fp1 25 and 22 Also note the alpha ban
8. has the following parameters FIRDetrend determines whether or not linear detrending is performed FIRFilteredChannels the number of channels that will be filtered FIRFilterKernal a matrix of the FIR filter weights FIR Windows number of data blocks that are combined at each filtering cycle Intergation determines whether the mean 0 or RMS 1 value is output During normal operation the FIRFilterKernal is loaded with the Load Matrix option It can be produced by running the program MakeFir 32 The MakeFir program produces a matrix output that can be read directly into BCI2000 with the Load Matrix option The appearance of the MakeF ir main window is shown in Figure Dee Make FIR Coefficients Oj x CenterFrequency 22 Filter 3 Bandwidth 2 sampleRate E FilterUrder 32 apcRes 0 2 Spestap ao ViewSpectrum OutFile Coeff mat SaveCoftt Exit Figure 3 2 Appearance of the MakeF ir menu The desired parameters are selected for each filter and then MakeCoeff is depressed Each time MakeCoeff is depressed filter coefficients determined by the current parameter settings are produced and the Filter counter is advanced Figure 3 3 shows the window displayed when ViewSpectrum is depressed 33 Figure 3 2 Appearance of the ViewSpectrum menu Figure 3 2 shows an example of the band pass characteristics of three 32 order filters centered at 0 11 and 22 Hz If the operator is satisfie
9. mem prm parameter fragment that can be seen in Figure 4 The MEMFilter parameters are deltaMem specifies the resolution in Hz with which the autoregressive model is evaluated MemBandWidth specifies the width in Hz of the spectral bands produced MemDetrend whether or not linear detrending is preformed MemModelOrder the order of the AR model Mem Windows the number of data blocks each SampleBlockSize long used per Spectrum StartMem beginning point at which the spectrum is evaluated StopMem ending point at which spectrum is evaluated In the example shown a 10 order AR model is evaluated from 0 to 50 Hz in 3 Hz bands Each 3 Hz band consists of the average of the 15 points evaluated at 0 2 Hz intervals The linear trend in the data is removed prior to fitting the AR model 12 The parameters of the other parts of signal processing are accessed in the Filtering menu The appearance of the Filtering menu is shown in Figure 10 Configuration lol x Visualize JoyStick Storage Targets MEMFilter Source UstTask Statistics System Filtering Save Parameters ahi cane 7 fone aan Pope Load Parameters AlignChannels 0 Cie Js i 2 eae ClassMode 1 la Adie at A AT Hess Conk c MLR Edit Matrix Load Matrix Save Matris _Configwre Save Gla ARA AASA fin Oe beens Configure Load MUD Edit Matrix Load Matrix Save Matrix SE Y TS CN SANAE NumControlSignals J lI ae oy
10. of the GO button is a list of State codes This list is read from the data file and its contents will vary Note that in the example TargetCode has been checked This causes any change in the value of the state TargetCode to be marked on the record Also note that the time within the run appears on the bottom of the record 58 C 1999 02 for HRI Inc Channels fig R fr i Jump To Samples 768 F Teji 21 Scaling i Edit Channellist bad chfle 4 gt Figu re 7 5 Magnification of some of the controls from Maxifred Note the Edit Channellist button If this is selected the form in 7 6 appears 1999 02 fe z WT Ine File lc sharedsecreen B C 1 2000 Screen Channels is aj A fi naia r ResultCode Samp T Pril Copy2Clipboard SavezDisk amples 76g md Scaling fo Fee dback C Stim l usTim GO l Cl Act oe Lebacermelist iced chile 4 E inteatrter Z Tank ela 15 cp5 i mat a N 14 06 Banie PE E ee oe icant ae 42 02 PE ES normal display fierce de nee at cea CCAR display T ee T NE O yen Figure 7 6 The Edit Channellist form This menu allows application of the Common Average Reference CAR to the displayed data 59 EEG Samples from Maxifred Gery s cool MAXIFRED program 3 3 C 1999 02 for HRI Inc _ TargetCode a File Ic shared screen B C 2000 Screen P
11. of trial outcome statistic 1 for positive e g proportion correct and 2 for negative e g latency to hit target SignalWinLth number of trials per target in running average of signal statistics TargetWinLth number of trials per target in running average of trial statistics TrendControlRate learning rate for Trend Control Algorithm WeightControl matrix of state names used for adaptation WeightUse controls use of online adaptation of classifier weights O for no use 1 for compute but do not use and 2 for use on line WtLrnkt learning rate for Weight control algorithm XGain Value of the slope for horizontal movement XMean Value of the intercept for horizontal movement XMeanProportion proportion of the mean of the X control signal used as the intercept XPixelsPerSec rate of horizontal cursor movement in pixels per second XTrendControl trend control adaptation 0 none 1 remove mean from control signal 2 adjust mean by a proportion to remove linear trend 3 gain adjustment to remove quadratic trend YGain Value of the slope for vertical movement YMean Value of the intercept for vertical movement YMeanProportion proportion of the mean of the Y control signal used as the intercept YPixelsPerSec rate of vertical cursor movement in pixels per second YTrendControl trend control adaptation 0 none 1 remove mean from control signal 2 adjust mean by a proportion to remove linear trend 3 gain adjustment to remove qua
12. operation 10 SamplingRate data acquisition rate in Hz SoftwareCh number of channels sampled and stored by the data acquisition program SoftwareChBoard1 number of channels from first board ignored when only 1 board SoftwareChBoard2 number of channels from second board ignored when 1 board TransmitCh number of channels transmitted to signal processing TransmitChList identity of channels transmitted to signal processing In the example shown in Figure 8 a sample block size of 32 and a sampling rate of 256 result in the system running at 8 cycles sec This means that data is processed every 1 8th of a second and that the cursor will move 8 times sec All 64 channels of data are recorded and stored However only 4 of these channels are passed to signal processing 11 The parameters of the spectral analysis are entered in the MEMFilter menu which is shown in Figure 8 Configuration O x Visualize MEMFilter Source UsrTask Statistics Storage System Filtering Save Parameters enh aie otenation deltak em n 2 J Specia Paota a Az pe Hemb and idth 3 0 rt J EAS AT oie CSA SONAR dea a i HemDetrend BO J Configure Save AU ances avatar So Configure Load MemModelOrder fi 0 rt J 214 anes ofa AA i ch Mem indows 2 o J Sa ov Sinaia ae lr aes Startem 0 0 tt J Ent af SPECAN io A oe Stopem 50 0 a J Figure 9 Appearance of the MEMFilter menu These values could be entered by the
13. shown VisualizeSpatialFiltering whether or not the results of spatial filtering are shown VisualizeStatFiltering whether or not the proportion correct by targets is shown Visualize TemporalFiltering whether or not the results of the spectral analysis are shown 26 The System menu displays system configuration data and is shown in Figure 22 These values are not normally changed by the operator and should not be saved or loaded Figure 22 Appearance of the System menu Configuration Visualize MEMFilter Source UsrT ask Statistics Storage system Filtering I RATA ce heen A 127 0 01 date tate ie chevy oe ApplicationPort 1195 ApplicationiIP dae manne ce SE AF 127 0 0 1 date ae fe cheer oe fisi PE NTA ce ASAT AF SignalProcessinglP fi 27001 date aS ot RSA NT SignalProcessingPort 1193 Jani oy fe vive SAANEN AI EEN State ectorLength 7 EFEEGsourcelP EEGsourcePoart ard aa hane 5 x Configure Save Configure Load These values can be omitted from saving and loading in the parameter file by clicking on these buttons on the right side of the screen as illustrated in Figure 23 lt L age System Filtering Save Parameters 92 apesi fobes NGT mak pol J 1 i i I E oxi RewardDuration SampleBlockSize SamplingR ate SavePrmFile SignalProcessinglP SignalProcessingPort SineChannel SineFrequency SineM axAmplitude S
14. 0 P BZG DAT e calibSO01R01 dat Select Input gt S Filename eaibSO01ROT dat Peak to Peak value of the input sine Files of type BCI2000 EEG files DAT Cancel 100 0 ned ECA Input Filename N2 channels in input NAA Calibration File N A Figure 4 2 The Calibgen input window 35 Next select the output file 10 x Help Input Output Channels Select Input Select Calibration F i Peak to Peak value of the input sine wave in microVolts Enable Channellist fico D E 2 x Input Filename CAshared iaw o ave in a a gt ex FA channels in input 64 Calibration File N A gal CI msj53_58 Ci sdh CI s0H27_30 Shortcut to todo txt Ee Filename feaibprm O0 Shortcut to try Save as type BCI2000 parameter file prm z Cancel Figure 4 3 Appearance of the output window Then click on go The selected file name will contain a BCI2000 parameter file fragment similar to that shown below Parameter File Fragment Calib prm Generated by Calibgen Filtering floatlist SourceChOffset 5 245 202 86 155 17 0 500 500 offset for channels in A D units Filtering floatlist SourceChGain 5 0 00802 0 00806 0 00797 0 00805 0 00807 0 033 500 500 gain for each This file can now be read into BCI2000 with the Load Parameters option 36 Chapter 5 BCI2000 file formats As noted in chapter 1 the storage menu allows for input of FileInitia
15. 2 The P3Speller Menu is illustrated in Figure 6 3 Ec Configuration E gt l lolz a E A PosignalProces sing Visualize Source Statistics _P3Speller Storage System Filtering save Parameters PERC CO iD PR EE eae FP Load Parameters BackgroundColor Ox00FFFFFF a J i l l AA OF sete of Fo eae aie Number 0fSequences a m Je ESA seein 47 iva of Baan OffTime rc Configure Save enn anne T Fog qt ke Configure Load OnlineMode lo Juan Oana a Leto TE E ATY OnTime 4 D J Duration afer sat atin etensiications a une Ss PostSetinterval ED a Daan baye set at etansdication iets ar PreSetinterval Eo D J Same of viata fara eae of ose Aen StatusB arSize 10 rl J Se of tae far fey sense af ese Aaa StatusB arT extHeight fe Tanel daniy ils Ao TargetDefinitionFile patargets cfg oOo o J TATTO a7 pesca of scraee aight e V9 TargetHeight 5 a Aaight of ITEE BBR i pecantafscean hain TargetT extHeight 10 O TORAN ao cena of ese BRA Targelidth F a Teet Doiy i her BEGGAR Ao TextColor OXO0000000 Fast Gate i hex Gat GAE do TextColorlntensified OKCOOOOr E D J EPIN or veg do oe eens ARTS l TextT oSpell P e Figure 6 3 The P3Speller menu allows for entry of BackgroundColor Hex values for the background of the User s screen All Os is black In positions 3 4 more Blue is added as the value increases The value in 5 6 adds green and the value in 7 8 adds red NumberOf
16. 4 The Edit Matrix option from the horizontal class filter MUD is illustrated in Figure 12 note that MUD stands for Matrix Up Down Visualize MEMFilter Source LstTask Statistics Storage System Filtering oe ANNAN PI ae Se fase ioe A set eet AlignChannels DO pe Ge te J ie AS eee ae ClassMode f us pny es p ee j LRA BCI Edit Matriz MUD ioj x f Class Filter Up 7 Down Weights S LR_B H of columns H of rows E I 2 E sel new matris size T ae MaxChannels T eee Maxk lements a a HLR l EATEN EAO Oto ules ORNS MUD EERE Load Matrix Fave Mati ical O Laem waarmee Gara nab i Figure 12 Edit Matrix for MUD when ClassMode 1 In the example shown in Figure 12 there are 2 rows and 3 columns When the variable ClassMode is 1 then 3 columns are required The 2 rows correspond to two input features from the spectral analysis The 3 columns contain information that selects the features and weights associated with these features Column 1 specifies the SpatialFilteredChannel and column 2 specifies the spectral bin associated with the first component of the feature Column 3 specifies the SpatialFilteredChannel Column 3 specifies the weight of the feature The control signal for vertical movement would then be the weighted sum of the feature specified in 15 Visualize MEMFilter Source UsrTask Statistics Storage System Filtering aha oa
17. EUE LV seve os ye f Weightlise 0 AE oft ARTT foe Canes WiLinRt 0 00001 AOTT ANA E TAE Gt Gain i 47 27 AUDA Filler d SATA dex Mean 39 79 D m m om eE Ww hi gas PRE OF PREY 2G MeanProportion 1 0199 A AA ae APixelsPersec 2000 00 J JAC tata centeloiaat eae 7 maa aes ange F aie ZT rendi nntrnl E rae Figure 16 The BaselineHits menu The example shown has 12 rows for each of twelve targets This information is used by the adaptive trend control algorithm 20 The Edit Matrix option for WeightControl is shown in Figure 17 LO IROL LL Polis SN FSU ry I J I PARAYI of dean AAE avec OutcomeDirection f D J Configure save faa ima Fiva al PRIS en 2 0 O Configure Load SignalinLth a 7 a State Names controlling Adaptation ERT of Fane 2 Went TargetinLth wo H of columns of rows unlock labels TrendControlR ate o oo Sais Aas T e wWeightControl Load M E s aptCode dine of sername Y vat f ResultCode WeightUse 0 Aas off aaa i EA WtLinRt o oo ATAR Ania EAR SA Gain 5 0 AR Asia atten dey Mean 5 0 PREY OF AANE A amp MeanProportion 1 0 Aaa ie Fas APielsPersec jo a J AC OTE a i aan J aaa meas oa 7 ae AT rendContral F l p Figure 17 The WeightControl menu The example lists 4 state names that are used by the statistics module for adaptive control These are states that originate in the Application module There values are used in the statistics part o
18. Figure P 2 Operator Visualize system EEG signal Application Source Processing MEMFilter UstTask Filtering Joystick aka Statistics Targets Source Figure P 2 Association between the four modules and the various configuration menus The Source menu and the storage menu originate in the EEG source module and are concerned with its operation The signal processing module produces the MEMFiltering filtering and statistics menus The application is configured by the UsrTask Joystick and Targets menu Finally the operator uses the Visualize and System menus While the visualize menu actually originates in the three other modules it is concerned with the operators data display function In order to work properly the BCI2000 system must have values set for the parameters found in these menus The system starts with default values Changes may be made manually be the operator or by reading in parameter files Parameter files may be read in as complete lists of all parameters or as parameter file fragments that modify only a subset of the parameters BCI2000 can also be configured for P3 spelling In the case the P3SignalProcessing and P3Speller application can be used The menus associated with this configuration are shown in Figure P 3 Operator Visualize system EEG Signal Application Source Processing P3Signal Filtering Statistics Source Storage Figure P 3 Association of the four P3 modules and the va
19. Preface BCI2000 is a system of four modules that are independently executable programs They are described in detail in two documents outline pdf and specific pdf An overview of their organization can be seen in Figure P 1 EEG source EEG storage application EEG signal control signal Femure Sd H h eve overview of moduba m BOCA Thi paritinmg scheme and the ussal communication probooods are lt escribed m detal m the BOAIO Project Outines Figure P 1 Overview of the four BCI2000 modules The EEG source module acquires EEG data from the A D convertor stores it to disk and passes a sub set of the EEG signal to the signal processing module The signal processing performs a series of cascaded filtering operations that result in a cursor control signal that is passed to the application module The application module controls the users task and the appearance of the users screen The operator module serves as a interface between the human operator and the BCI2000 system by collecting parameters and displaying data The four modules of BCI2000 can be associated with a series of menus used to input the parameters of the system BCI2000 can be configured with various combinations of Source Signal Processing and Application modules For example for mu rhythm training the configuration could include the ARSignalProcessing module and the D2Box Application The menus associated with this configuration are illustrated below in
20. Sequences The number of presentations per classification Currently this must be an integer multiple of the value of NumERPsToAverage in the P3SignalProcessing menu OffTime number of system cycles that the highlight is off OnlineMode free spelling OnTime number of system cycles that the highlight is on 53 PostSetInterval delay at end of set PreSetInterval delay at beginning of set StatusBarSize size of bar at top of user screen showing letters to spell and letters spelled StatusBarTextHeight size of text in bar at top of screen TargetDefinitionFile full path of file that defines selections on the screen TargetHeight height of area in which each letter appears TargetTextHeight height of the text in the target area TargetWidth width of area in which each letter appears TextColor hex bit pattern BGR that defines color of targets TextColorIntensified hex bit pattern that defines change when row columns flash TextToSpell word s that subject must spell 54 Additional considerations Certain other parameters covered in previous chapters must be dealt with in the Filtering menu values for MUD must be set to allow for classification of the P300 This works as covered previously except that the column 2 values are time points rather than frequency bins For example Figure 6 4 shows one configuration BS Edit Matrix MUD _ oj x Class Filter Additive Up Down Weights H oof columns H ot rows 2 5 s
21. Stimulus ode 4 4 10 10 0 Stimulus ly pe 1 0 0 0 Flashing 1 O 0 0 SelectedTarget U U T 16 There are 4 state variables illustrated here StimulusCode refers to the currently active row column number StimulusType refers to whether the current row column is a target or standard Flashing refers to whether or not the current stimulus is intensified Finally SelectedTarget refers to the row column combination that is selected at the end of one complete scan sequence In the example above the letter P is the target values of stimulus code being 4 for row and 9 for column The example illustrates a successful selection SelectedTarget being 16 39 The state model for the RJB task is illustrated below lacs ode Baseline Feerdiizack Intertrigtimerval ResultCodea l 2 a A 3 6 T 8 Four targ t jb task 1 isthe intertrial inierval were the screen is Hank end baseline data can be collected optional In 2 the target is presented but the cursor is absent no feedback In 3the cursor is present and it s vertical movement is Controled by thea users EEG Honzontel cursor movement is under computer control and is st a constant rate In 4 the cursor approaches a ihe target and in amp the target hes been hit and tral outcame feedback is presenied In amp the screen ls blank intertnal interval again and in another large is presented Note that control of the state of the user screen depends upon the values of several state code
22. can also be read in from a file with the Load Matrix option Edit Matrix a B x HUD H of columns H of rows NumControlSignal fin a 2 set new matris size 5 ourceChGain SourceChOffset S patialFilteredChe Soa Ata A aa senate Load Mati Save Matiz rt si a Figure 11 The Edit Matrix option for the SpatialFilterKernal 5 patialFilterRermnal Notice that there are 10 columns and 2 rows in this example The rows and columns can be set by the set new matrix size button that appears in the top center of the menu The 10 columns correspond to the 10 TransmitCh values of the source menu That is in the example shown previously in Figure 7 the source menu specified that 10 channels are sent to signal processing These correspond to the columns of the spatial filtering matrix In the current example the parameter SpatialFilteredChannels is 2 This corresponds to the rows of the spatial filtering matrix and corresponds to the number of channels that are the output of the spatial filtering operation This will then be the number of channels input to spectral analysis MEMFilter and the class filters MUD and MLR Thus there is an interdependence between some of the parameters In this example TransmitCh from the source menu corresponds to the columns of the spatial filter matrix from the Filtering menu as well as the number of elements in SourceChGain and SourceChOffset also from the Filtering menu 1
23. ce of the storage menu AutoIncrementRunNo controls whether or not run number automatically advances FileInitials the disk and directory where the data files will be stored SavePrmFile controls whether or not the parameter file used for each run is saved StorageTime time when data file is created SubjectName initials identifying the subject SubjectRun number of the current run SubjectSession number of the current session When al of these parameters have proper values the Configuration menu can be closed click on X in upper hand corner Next click on the Set Configuration button and the operator program will appear as in Figure 6 Functor 1 Function 2 Furnctor 3 Function 4 Conn Info Config gt Set Config gt Start Quit System Status System Runnin EEGsource module initialized SignalProcessing module initiali Application module initialized Figure 6 Appearance of operator program after configuration Notice that the Start button has become bold This happens only after clicking Set Configuration The system is ready and the session will begin when you click on Start When the system starts several displays will appear The particular data displays that are present will depend upon the parameters selected from the Visualize menu One configuration is shown in Figure 6 _ Se 2 a F n De A Te a
24. ce of the user screen with the screening program Note that the target appears on the bottom of the screen Whereas the initial user task had targets aligned along the right edge of the users screen the screen task has targets on the top and bottom edge of the Users screen for TargetOrientation 1 or on the left and right edges of the Users screen for TargetOrientation 2 31 Chapter 3 The FIR program As we saw in chapter 2 different versions of the four separate programs comprising BCI2000 can be used interchangeably An example of an alternative signal processing program is the FIRProcessing program The use of digital filters e g fixed impulse or FIR is an allternative to AR based spectral analysis Most menus are identical with the FIRProcessing program The exception is that the MEMFilter menu is replaced with a FIRFiltering menu The appearance of the FIRFiltering menu is shown in Figure 3 1 Configuration _ Oj x Visualize FIRF iter UsrT ask Source Statistics Storage System Filtering Save Parameters Jaane oa fe SANAR dee FiRDetrend OO Attar of 705 Adie Asiana E AEYN FIRFilteredChannels BR Aa EAA Maca Heaney FIRFilterKernal E dit Matrix Load Matrix Save Matrix C Ealo Sei PAG ASME OP a i Configure Load FIR windows E AAG jana vison amp AN S om Integration Le rt J Figure 3 1 Appearance of the FIRFiltering menu The FIRFiltering menu
25. d spindles present throughout many channels see Figure 3 Figure 7 9 Alpha spindles from Figure 2 61 ne Gery s cool MAXIFRED program Y3 UL eee bows j IntCompute a Active T Sourcel ime File C shared joystick sdh188 sdhS188 Channels rT z R lo Jump To a Copy2Clipboard Save2Disk Samples 1100 b Tef a GRA Recording Y TargetCode Y J Scaling 1 0 a AE 28 af4 27 atz 26 af3 25 af 24 fp2 23 fpz 22 fp1 21 cp6 20 cp4 19 cp2 18 cpz 17 cp1 16 cp3 15 cp5 13 04 krum ah ce fp n Pe ec amma Sa et er ag RE en ee cage ae r en cals 00 00 08 00 00 09 00 00 10 00 00 11 00 00 12 lt idle gt Figure 7 10 EEG sample showing a large EKG effect Note the regularly occurring small upward deflection2 on all channels There is also a single eyeblink 62
26. d with these characteristics a file name can be selected with the OutFile button and created by depressing the SaveCoff button Note that the MakeFir menu has a Bandwidth option The bandwidth will not be less than the value selected but the width is also limited by the filter order 34 Chapter 4 The Calibgen program As noted in chapter 1 the BCI2000 Source menu has the parameter TransmitCh and the parameter list TransmitChList that specify which channels are sent from the EEG source program to signal processing The Filtering menu has the parameter lists SourceChGain and SourceChOffset that provide information for calibration of these same channels All of these parameters can be generated from the Calibgen program The Calibgen program takes as input a BCI2000 data file containing a calibration signal The user selects the desired channels The output is a BCI2000 parameter file fragment The initial appearance of the Calibgen program is shown in Figure 4 1 ii BCI2000 Calibration Generator Vii G D x Help Input Output gt Select Calibration gt Go Peak to Peak value of the input sine wave in microy olts 100 0 Input Filename N A channels in input Ma Calibration File MA Figure 4 1 Appearance of the Calibgen main window Click on the SelectInput button and the next window appears as shown in Figure 4 2 Se 2 x Look in 3 raw e e Ee gal C msj53_58 CI sdh Input E QO SDH27_3
27. dratic trend 18 The Edit Matrix option for BaselineClg is shown in Figure 15 Sie ao ei Ae fae BaselineCig Load Matrix Save M Edit Matrix Hof columns of rows Hedin 2 fa f4 set new matrix size Ts Pee FE i m TargetLode 2 Feedback 1 Targetlode 3 Feedback 1 4 Targetlode 4 Feedback 1 QuadT rendLrinAt 0 007 Figure 15 The Edit Matrix option of BaselineClg In the example shown there are 4 rows and 4 columns The example is for a task with 4 targets see UsrTask below The data used for adaptation of cursor movement parameters will be taken from the four TargetCode values shown when the value of Feedback is 1 19 The Edit Matrix option for BaselineHits is shown in Figure 16 sia Configuration g ae Hf 3 o x Visualize JoyStick Targets MEMFilter Source UstTask Statistics Storage System Filtering Save Parameters TANEN fo sei dae Aaa Load Parameters BaselineCig Edit Matrix Load Matrix Save Matrix J Jee oon fe eae aay i BaselineHits Load Matrix Gave klatri J JSR OF fo ORAS aie 3 OutcomeDirection f Configure Save Anat ue GARIN Annan Configure Load SignalinLth 2 l ne proportion corect for each target n ov Famer 2 inno TargetwinLth 0 Hofcolumme Hof rows unlock labels eae Sate Ay Linear E E eet new matrix size TrendControlRate o oo 0 40 Sie Aao coving WeightControl Edit Matrix Load M E
28. e X dimension A value of 2 allows adaptation on the Y dimension A value of 3 allows adaptation on both dimensions 25 The Visualize menu provides for entering parameters that control the run time display of data and is shown in Figure 21 Configuration x Visualize ME MFilter Source UsrT ask Statistics Storage System Filtering Save Parameters Ane ED ey Atay Foe Sourcel ax 092 Zz J AIEEE ET sae Avon haa SourceMin Moo ene Cae A aa tape VisualizeCalibration o Iz Configure Save ENEE SEES NEE ESOS OY Te Configure Load VisualizeClassF iltering Cc j PEATE Aa eee AA eed Fae VisualizeNormalFiltering ooo s l sans Aa EE i een Ee VisualizeS ource ooo F HAMDE anata aT apa weed Foor VisualizeS patialFiltering ooo m l HEARDE Sit AT sama foe Jones Visualize tatFiltering c m j SEAN J aaa tase eat Sea an VisualizeT emporalFilterinfy Figure 21 Appearance of the Visualize menu The Visualize menu has the following parameters SourceMax maximum expected value of the source raw data display SourceMin minimum expected value of the source display these values scale the display VisualizeCalibration whether or not the results of the calibration are shown VisualizeClassFiltering whether or not the results of the classifier are shown VisualizeNormalFiltering whether or not the results of the normalizer are shown VisualizeSource whether or not the raw data are
29. e read from parameter file If the system has been parameterized and the results has been saved in a file system operation is relatively simple Just click on the Load Parameter button and the menu shown in Figure 4 will appear I L tics Storage System Filtering Save Parameters i dine ane Tares anes NGT wat pei Roh TA AA em4bars prm Fir 1 prrn Horiz_ screen prm Fir 3neg prm B mem prm 4bars prm 2 fir16 prm E new prm ates prm Fird6 1 prm dualmonitor prm Z Fir prm Sbars previ new44 prm new4b prm Files of type eci2000 parameter file prrn Cancel Figure 4 The Load Parameter menu The file containing the preselected parameters can then be loaded Then parameterization of BCI2000 is completed by adding the storage parameters Click on the storage tab and the Storage menu Figure 5 will appear This contains the following parameters Configuration a _ x Visualize JoyStick Storage Targets MEM Filter Source UsrTask Statistics System Filtering Save Parameters Jai fo dao eee ov othe FileInitials o bei2000test J fet ote sasha oobi oases a SavePrmFile ja J Aone OST of Oba Sve os StorageTime 1615 S J Configure Save saa alae gt Configure Load SubjectN ame JtestHits J UT A ATEN os Subjecthun Joo zz J SSO Se Se oe SubjectSession Joo iz J Figure 5 Appearan
30. e used to vary the output 50 Chapter 7 The P300 Speller Use of the programs P3Signalprocessing exe and P3Speller exe in conjunction with data acquisition and operator modules allows for use of the P300 Speller This configuration has the Visualize Source Statistics Storage System and Filtering menus as discussed earlier In addition the P300 configuration also includes the P3SignalProcessing and P3Speller menus The appearance of the P300 user screen is shown in Figure 6 1 aa es Figure 6 1 The P300 User screen Each of the 6 rows and columns are flashed highlighted in a block randomized order When N blocks have been completed a letter is selected 5I The P3SignalProcessing menu is illustrated in Figure 6 2 ECI Configuration E oix P3SignalFrocessing Visualize Source Statistics P3Speller Storage System Filtering Save Parameters AATE of OAPs io aaa fate ART LAE Load Parameters NumERPsToAverage li 5 o AATDAN of DIRAS afoead fy each aso ar Nums amplesinERP 144 Oo Tanner Channa fa BAP Daae t ada ev Sgr T Configure Save es Configure Load TargetERPChannel Figure 6 2 The P3SignalProcessing menu This menu allows 3 parameters to be entered NumERPsToAverage the number of blocks to be averaged prior to classification NumSamplesInERP the length of the ERP waveform in samples TargetERPChannel the channel that is displayed in the VisualizeP3TemporalFilter window a
31. eaot ofan ELA genie 2 ane SourceChGain 0 003 0 003 0 003 0 003 0 003 0 003 0 003 ovat Age ARA ge aAA pants LLI ELUNE pooo000000000000 F fine E Aa ANOS CAA o cect Ti ann SourceCh meOffset 1 E Anba of Spatial Fileed Ghaanek So SpatialFilteredChannels 7 m Saai Sitter A aa Ap e spatialFilterkernal Edit Matrix Load latri Save Matrix hz J Figure 10 Appearance of the Filtering menu The filtering menu has the following parameters AlignChannels whether or not a linear interpolation is used to align channels in time ClassMode the classifier can operate in a simple mode mode 1 or in a mode allowing interaction terms mode 2 MLR matrix that defines the channels and frequencies that determine horizontal movement MUD matrix that defines the channels and frequencies that determine vertical movement NumControlSignals number of control signals up down and right left SourceChGain list of gain values for each channel to convert A D units to microVolts SourceChOffset list of intercept values to convert A D units to microVolts 13 SpatialFilteredChannels Number of spatial filter output channels SpatialFilterKernal Matrix that defines spatial filter transformation There are several parameters e g MUD SpatialFilteKernal that have Edit Matrix and Load Matrix options The use of the Edit Matrix with the SpatialFilterKernal option is illustrated in Figure 11 The vallues of the spatial filtering matrix
32. ept the operator may be invisible as seen in Figure 2 BCI2000 Operator 0 22 File view Help i Punction Function 2 Function 2 Function 4 Config gt Set Config gt Stan System Status Information Ph EEGsource waiting for configut SigProc waiting for configuratic Waiting for configuration Figure 2 Screen appearance of the operator program BCI2000 has many parameters that need to be entered for proper operation In order to do so click on the Config button The configuration menus will then appear One appearance of the configuration menu is shown in Figure 3 It is important to note that the appearance of these menus 1s dynamic in the sense that they depend upon the features included in the current version of BCI2000 Configuration J _ o x Visualize JoyStick Storage Targets MEMFilter Source UsrTask Statistics System Filtering Save Parameters atm channek i dine fna I nex AlignChannels fo o J assia made I single 3 PSIC S 6 ClassMode fi eooo J Glass Filter Lett Bight Weaights So s spread MLR Edit Matrix Load Matrix Save Matrix J aeaea Glass Filter Adhtiive Lip Down Wisighis a Configure Load MUD Edit Matrix Load Matrix Save Matrix J the number of hansmited canta simak a NumControlSignals 2 La J GIN Ay each chan LP ints gt ana SourceChGain 0 003 0 003 0 003 0 003 0 003 0 003 0 003 L J Ar ofan wal canis SourceChOffset 0000000000000000
33. et new matris size i Figure 6 4 One possible configuration of MUD from Filtering menu In this configuration the values in column 1 indicate that signal 2 is being used for P300 classification The values in column 2 indicate that time points 32 36 are used for classification Finally the values in column 3 indicate that all points are given equal weights 1 Also in the Filtering menu the values of UD_A should be 0 and UD_B should be 10 55 Chapter 7 Maxifred exe Maxifred exe is a utility that can be used for visual inspection of BCI2000 data files It provides for a simple polygraph type view of short segments of data Upon clicking on the programs icon the following form appears NU MAXIFRED Wad 1995 07 Gerwin Schalk Wadsworth Center C519 Empire State Plaza Albany Hr 12201 REMARK This program was programmed with major support of my brain assistant animal Figure 7 1 The initial Maxifred form Click on Let s kick it and proceed to the main form 56 Gerv s cool MAXIFRED program 3 3 C 1999 02 for HRI Inc File e WeharedtraiwManesSO01 RI da Channels 16 2 Rfi Ea l Fiial Coppelipboarnd Sayediiek Samples Tr Bama EE samples zes 3 f a Sealing f0 Z Ses eels e lio lt idle gt ii Figure 7 2 The main Maxifred Click on the File button in the upper left hand of the form and the open file dialog appears _ ll 21x ioj xj c
34. f the Signalprocessing module 21 The UsrTask menu provides for input of the parameters that control the users task and is shown in Figure 18 Configuration F loj x Visualize JoyStick Storage Targets MEMFilter S OUNCE UsrTask Statistics System Filtering save Parameters PENAN Coane 7 fae t ie Load Parameters Baselinelnterval fi J iira Winks Camas Gite so Cursorsize Ss J ARIS Joa Saye FeedbackDuration 20000 F Configure Save DUEN OFANA dntarval eS Configure Load iD uration fi T J JCC oF Taney ee cea PreTrialPause fi 0 e J Jeter oe ceived af AIAI agency RestingPernod jo i J Jane of E n aa E e aA RewardDuration fi 1 m J fae f aoe Aor TERIS a7 NATE TimeLimit fi aj tt J E Heim S 4 WinHerght i J o J dear keban tai ai Wina idth i a O J Liar Wwinotes beatin 2S Wins pos aoo F J diner kipas VORE a e Wint pos Booo i J Figure 18 Appearance of the UsrTask menu The UsrTask menu has the following parameters BaseLineInterval Intercept computation 1 for targets 2 for ITI CursorSize the size of the cursor in pixels pixel size depends on screen settings FeedbackDuration max trial length in cursor steps IT IDuration the duration of the period between trials in units of cursor updates PreTrialPause the duraion of initial target appearance without cursor present RestingPeriod mode where baseline is taken rather than ta
35. ineMin amp mplitude SoftwareCh SourceChG ain SourceChO ffset SourceMax SourceMin SpatialFilteredChannels SpatialFilterKernal StartMem StateVectorLength topMem StorageT ime SubjectN ame SubjectRun SubjectSession TargetWidth TimeLimit TransmitCh TransmitChList TrendControl TrendwinLth UDA vi v v gs v A mu Load Parameters Configure Save Configure Load Figure 23 Appearance of the Config Load menu illustrating omission of system parameters 27 Table 1 1 List of BCI2000 parameter interdependencies Note that all parameters in the same group must match Parameter Menu Type Group TransmitCh Source numeric SourceChOrise oe aa a SpatialFilteringKernal e a fn SpatialFilteringKernal S Filtering matrix number of columns MUD n a Fe StopMem StartMem MEMFilter computed number of C membandwidth spectral bins MLR Filtering 28 Chapter 2 The screening program As noted earlier BCI2000 consists of four separate programs that run simulaneously These are the operator data acquisition signal processing and the user application Different versions of these programs can be run with the BCI2000 system One alternative user application is the screening program This can be launched manually or with a batch file as discussed in the beginning of chapter 1 In either case the appearance of the various menus are similar with the exception of the UsrTask menu When the
36. it will produce means for each target letter The box at the lower left allows for selection of statistics that compare the groups defined in the UseStateForm Finaly the checkbox OutputOrder XY has Topographies selected This refers to the orientation of the output matrix This causes the Time Periods memo box to appear Time values for HzPlot compatable topographies are entered here If the OutputOrder XY selection is TimeXChan an output like that shown below except that 48 the range of time is truncated to allow a single line to fit on a page O 1 1 1 514 1 237 1 386 1 387 1 207 1 019 1 018 O12 4 854 4 458 4 338 4 285 4 311 4 169 4 115 O13 4 448 3 983 3 621 3 517 3 643 3 641 3 632 O21 4610 4 734 4 799 4 7195 4 820 3 988 2 565 O22 2 642 2 980 3 142 3 010 2 941 2 103 0 640 O23 4 386 4 742 4 763 4 338 4 098 3 338 2 114 O 1 1 0 513 0 416 0 249 0 058 0 291 0 102 0 216 O 1 2 1 326 1 525 1 668 1 780 1 881 1 696 1 478 O13 2 587 2 496 2 369 2 331 2 461 2 448 2 415 O21 3 832 2 970 2 663 3 397 4 241 3 517 2 406 O22 2 079 1 453 1 327 1 996 2 456 1 536 0 657 0 2 3 3 439 3 020 2 898 3 261 3 411 2 451 1 760 O 1 1 0 609 0 036 0 245 0 004 0 064 0 267 0 175 O12 1 836 2 350 2 5660 2 308 2 390 2 678 2 527 O 1 3 2 207 2 293 2 264 2 190 2 359 2 476 2 438 O21 3 450 2 738 3 052 4 043 4 643 4 107 3 570 O22 2 090 1 678 2 110 2 937 3 201 2 498 2 116 0 23 3 601 3 390 3 724 4 234 4 241
37. lTargets If O is selected the trial continues until the correct target is hit or the trial times out If 1 is selected the trial terminates when any target visible or not is hit NumberTargets the number of targets to be displayed ShowAllTargets 0 for correct target only 1 for all targets displayed StartCursorX the horizontal starting position of the cursor in percent of total screen area StartCursoryY the vertical starting position of the cursor in percent of total screen area TargetPos a matrix of Target position values and other information Figure 20 also shows the Edit Matrix menu for TargetPos The example shows 8 columns and 7 rows The 8 columns correspond to the values for each of the 8 targets The 7 rows correspond 24 to the 7 distinct values associated with each target Row O contains the X horizontal starting position in percent of total screen area for each target Row 1 contains the Y vertical starting position in percent of total screen area Row 2 contains the X width of each target Row 3 contains the Y height of each target Row 4 contains a zero mean value that describes the relative X location of each target This value is used by several adaptive algorithms Row 5 contains a zero mean value that describes the relative Y location of each target Row 6 contains a value that controls adaptation of the control signal weights for each target A value of 0 results in no adaptation A value of allows adaptation on th
38. ls and SubjectName as parameters These parameters determine the location of the BCI2000 data files FileInitials represents a file path where subdirectories associated with each SubjectSession are placed For example Figure 5 1 shows a file structure created by BCI2000 gt wiew Favorites emis em199 w C bci7001 data em emz03 O x File Edit View Favorites Tools Help emz03 APL File emS203 sta STA File emS203R01 dat DAT File ems203R02 dat DAT File ems203R03 dat 3 808KB DAT File ems203R04 dat 3 808KB DAT File ems203R05 dat 3 808KB DAT File ems203R06 dat 3 808KB DAT File ems203R07 dat 3 808KEB DAT File ems203R08 dat 3 808KB DAT File Figure 5 1 File structure associated with a complete BCI2000 session In the example shown the value for FileInitials was c bci2001 data em the value for SubjectInitials was em and SubjectSession was advanced automatically from 1 to 8 As can be seen in Figure 5 1 a separate dat file was created for each run The complete description of the dat file format can be found in the BCI2000 project outline Briefly the dat file consists of an ASCII header that can be viewed with standard programs such as notepad that contains all system parameters and state definitions followed by the actual EEG data in binary format Note that directories that do not exist are created automatically Also new data files are created automatically at the beginning
39. nels If the All Channels box is checked the Channel List box will be filled with 64 entries If this box is then unchecked the list is cleared 43 If the Spatial Filtering box is checked a button appears to allow selection of a spatial filter file This file follows the format of spatial filter files saved by WinLaps exe BCT Time 9 29 03 _ 5 x pe StateControl i Mii intform O O OOOO lo x W Spatial Filtering Align Channels Bos Channel List Fil Temporal Look ir a dimO33 H E ff EB s Z dimS033R01 dat E dim5033F12 dat a Z dimS033R02 dat dimS033F1 3 dat History dimS033R03 det E dimS033R14 dat C CheckSt dimS033RO4 dat E dimS033R15 dat i dimS033R05 det E dimS033R16 dat fete dimS033RO06 dat r dimSO33RO07 dat apa My Computer E a l oa Mi Methik Pe File name Files of type gt Cancel EA 44 If the Temporal Filtering box is checked an input dialog box appears for inclusion of a file of FIR filter coefficients This file can be produced by the MakeFir exe program OLS De ke ee es P Shortcut to Sl coreldryy ME inputForm All Channels Channel List Tra iw Temporal Filtering TemporalFilter bi J T Ei P Desktop A MakeFir exe E la Oddball b2q TE a p speller b g Mui Campukel stimuluscode prm bye etwork Fe File name hea dat x Open Files of type Cancel p 45 If the
40. of each run using the next highest number The program scans the directory to avoid overwriting any files e7 Two additional files are presently created The apl file contains a brief summary of the subjects performance as illustrated below emS203 apl Thu Sep 13 12 42 55 2001 Run 1 Hits 30 Total 32 Percent 93 75 Number of Targets 2 Bits 21 21 Time Passed sec 180 06 Run 2 Hits 26 Total 32 Percent 81 25 Number of Targets 3 Bits 22 44 Time Passed sec 180 06 Run 3 Hits 24 Total 32 Percent 75 00 Number of Targets 4 Bits 25 36 Time Passed sec 180 06 Run 4 Hits 27 Total 32 Percent 84 38 Number of Targets 4 Bits 36 07 Time Passed sec 180 05 This example is truncated at 4 runs for the sake of saving space In addition a sta file is created This is the output of the statistics filter and provides trial by trial information concerning dynamic adaptation of BCI2000 38 Chapter 6 The BCITimeFrequency Program BCITimeFrequency extracts time domain or frequency domain data from BCI2000 Files and produces ASCII output files It is based on the BCI state model For the P300 Speller task this model is shown below A B C D E a E CIDE F E GOO E F 4 E CO E F 4 ODO E F G H IHJEL G HIJ EL GER ko KEL GHIJ EL M N OF OG R HAOPG R NAOPG R NHOP GG R Time Gut 5S T Ube Ww x STuvnw x oT va STUY Wx Y 2 teI 4 ogo deca E oe a ee E eee gab og 5 6 TRIS L 56e TEI L 56 TRJ L 27 6 TRS _
41. rget presentations RewardDuration duration that trial outcome is displayed in cursor update units 22 TimeLimit Duration of run in secs WinHeight height of user window in pixels WinWidth width of user window in pixels WinXpos horizontal position of upper left user window in pixels WinYpos vertical position of upper left user window in pixels The appearance of the users screen is shown in Figure 19 Figure 19 Appearance of Users screen Note the cursor and the target 23 The Targets Menu is shown in Figure 20 Configuration lol x Visualize JoyStick Storage Targets MEMFilter Source UstTask Statistics System Filtering Save Parameters fay coment 7 Ay any At Load Parameters FeedbackMode jo J Fast I fant positive 7 ye AS IncludeAllT argets 0 J Member of Tangat aS aes Configure Save NumberT argets 4 J ONIE af Fane mm Configure Load ShowAllT argets 0 J Anni Start of Curse cai StartCursorX 50 0 J Viaria Cursor Stanting Positions A R StartCursorY 500 0 Jannat Fost Aviator yaks ane FRE TargetPos Load Matrix Save Matrix J lo x Edit Matrix TargetPos Target Position Matrix Values are 0 100 of columns of rows unlock labels fa 7 set new matrix size Figure 20 The Targets Menu The Targets menu has the following parameters FeedbackMode if 0 only correct target flashes if 1 any target flashes when hit IncludeAl
42. rious configuration menus Notice that several of the menus are common to the two applications The signal processing module now has a P3DignalProcessing menu in place of the MEMFilter menu and the application has a P3Speller menu in place of UsrTask Joystick and Targets Chapter 1 Basic Operation BCI2000 Consists of four separate programs that run simultaneously These are the operator data acquisition signal processing and the user application All four programs must be started and connected for the system to work They may be started individually in which case they will appear as seen in Figure 1 below ma k fa EJ SS Acrobat Borland C Command Shortcut to re fa AF Reader 5 0 Prompt uA Aa nssr ansiona re a BCI2000 gt RY IN i Config gt Set Config gt Start Quit Corel Netscape cycle Bin Shortcut to i Communicator WordPerfect 8 ee System Status Publishing Phas EEGsource waiting for configut SigProc waiting for configuratic no status available O x Receiving IP Operator IP Sending IP dennis 127 0 0 1 NA BRT Receiving Port Operator Port Sending Port I for Na fos few Disconnect Disconnect Connect Figure 1 Screen appearance of the four programs launched manually In order to connect the programs click on the 3 Connect buttons Alternatively the four programs may be launched from a batch file in which case all programs exc
43. s In the present 4 target example TargetCode specifies which of the 4 targets is currently present When it is O no targets are present Feedback specifies the presence of the cursor Normally we are interested in analyzing data associated with specific targets when the cursor is present 40 The BCI time main menu appears below E BCI TimeFrequency 12 16 03 joj x StateControl C Ashared dm dim l3o dimS039R06 dat C Ashared dmidimOaa asc InputControl ProcessControl Ce OutputControl c p300 parameters asc Save Parameters AddFile AddDirectory Convert C shared drrdim039dimS039F01 dat C shared dm dim039dimS039R02 dat C sharedsdrnvdim0sS dims 039A 03 dat C shareddm dim039dimS 039A 04 dat C sharedsdridim0sS dimis 039705 dat C shared drdim039dimS 039A 06E dat C sharedsdrndim0so dims O39R0 dat C shared dr dim039dimS039R 08 dat C sharedsdrndimOsSdimis OS9R 03 dat C shared didim039 dimS039F1 0 dat This menu contains 4 controls for entering files several buttons for process control and a Memo box for channel selection If the File button for BCI File is selected the following dialog box appears 1 Finais BCA EEG thes DAT 4 This allows selection of the input directory The lower memo box has buttons for add file and add directory These are used for adding either the individual file or all bci data files contained in the current directory The list can be added to considerably so tha
44. screening program is run the UsrTask menu appears as shown in Figure 2 1 29 Configuration ES 0 x Visualize MEMFilter Source UsrTask Statistics Storage System Filtering Save Parameters al dinar PANASS Chace DTE Cursorsize 25 rt J LAHAYE O ARA SA ItiDuration Booo O J Avestan of fame Configure Save NumberT argets 2 tt J E giatee 3 en ARANT ov ole aces i a Configure Load RestingPernod jo tt J Gai a a E EA l RewardDuration E M J Jaa oF aay a7 oer ANATA eet TargetD uration zo J Feat oy J ARA a7 iets TargetHeight B0 M J Cieeaee Marca Aina GS Ae TargetOnentation f rt J wit af Fanmete Targetidth 250 tt J Fane f aoe Aor Peas 97 seconde TimeLimit f a0 M J dds delbaalee TEEN YWinHeight i 4 rt J Caren pela acti win idth i E e J diner MARATA beatin Wins pos a00 M J E EE E Wint pos Bo tt J Figure 2 1 Appearance of the UsrTask menu when running the screening program Note that most of the parameters remain unchanged with the exception of the addition of TargetOrientation and TargetDuration Also parameters referring to the cursor are not present The screening program has no cursor or cursor movement Hence the duration of screening trials is determined by the TargetDuration parameter In addition the target appearance for the screening program is different Figure 2 2 shows the user screen for the screening program 30 Figure 2 2 Appearan
45. ses a aime lea Foes lobes AG OR pete AlignChannels E eo J Deia ance I sina amp Praci ClassMode 2 i J z Le Le a IR A i edit B Matrix MUD Ioj xj Class Filter Up 7 Down Weights l LR_B Hof columne ofrows i S 2 E set new matri a ee MaxChannels Th e MM axElements ie MLA i Cae Aafia hia tees dean mae MUD Load Matrix ave iati Figure 12b Edit Matrix option when ClassMode 2 In the example shown in Figure 12b ClassMode 2 has been entered and 2 rows and 5 columns appear This indicates that the product of two features will be computed for each row When 0 appears in columns 3 and 4 only one feature is used for that row When non zero indices specify a second component columns 3 and 4 this is multiplied by the first component column and 2 This provides a means of generating interaction terms products This example illustrates another interdependence in the system The MUD matrix must match the SpatialFilterKernal in the sense that there must be SpatialFilteredChannels and spectral bins corresponding to the features specified in MUD A full list of system dependencies will be presented in Table 1 1 below 16 The Statistics menu provides for input of parameters that control automatic adaptation of the system and is shown in Figure 13 Configuration BaselineCtg Edit Matrix Load Matris Save Matrix oo J Jo ooo a eae aay as BaselineHits Edi
46. t Matrix Load Matris Save Matis J TARER ov dea oan avai Fae OutcomeDirection 1 Ot J Configure save Taia sy SAOS FE AVETE yore Configure Load SignalyinLth a tt J deng oF Fanner leiaatae ere ak TargetinLth 01 3 J i eami Rate Av Linear Trend Gane aan TrendControlR ate 0 001 o J State Aimer oily cota ay WeightControl Edit Matrix Load Matris Save Matrix J Hine of HOARN os at f oes wee i ye WeightUse T o F J FR ov f earna Av Glacier ia WtLinkt o o o J Moons filer at Fight Sloe Sn Gain 5 0 3 J Moana filer att Fight ioan eee Ss AMean 50 E 3 J Frgoontin of Aone RAIN ECEN geen 4M eanProportion 1 0 E F J Honinunia Fina Fate me ie APirelsPensec T o J AC AR aloo flaca J aad eae ange Fah aoe 4 TrendContral 1 tt J Aimat filter bio Daven Sipe anne YGain 5 0 rs J Alomnal Filler bio Deer ARCEN be idl lo TMean 5 0 ey J Fre ov ea san viene ag YMeanProportion 1 0 tt J Janne aerate oer seca ans TPirelsPersec 70 o J I ATON A fede S ARI E OR one 7 aha a YTTrendControl E 7 SENON fo sevice AY Aan ge Ore fen eee Th Save Parameters Storage System Filtering O x Load Parameters Figure 13 Appearance of the statistics menu The statistics parameters are BaselineClg matrix for selection of baseline used for cursor gain and intercept control BaselineHits matrix of a running average of the proportion correct for each target 17 OutcomeDirection Direction
47. t files from several directories can be concatenated The OutputFile field is for the name of the ascii output file and the Calibration parameter file is for the calibration file for all channels generated by the Calibgen program If the stateForm button on the main menu is clicked upper right the following dialog box appears six Mums tates E put Input b2a HumCategories 2 oe Save b2g Use second state regressively T include Next Sample stimulustyoe 0 flashing stimulustype flashing 1 Clear Exit Apply Entries here are based on the BCI state model shown in the beginning The values shown appear as the default They show two states 1 and 2 defined as the conjunction of statecode being 1 or 2 and flashing being These groups will then correspond to target and standards Other configurations could be entered manually or input saved with the file buttons The checkbox Use 2 State Regressively causes the 2 state value in the list to apply at the start of the 1 state value in the list This is useful for situations where the two do not entirely overlap The checkbox Include Next Sample causes the 1 sample following the selected state values to be included in the output This is useful when one wants to use some outcome value 42 The InputControl button on the main form produces the InputForm shown below InputForm LT hs ae S This allows for selection of a list of chan

Download Pdf Manuals

image

Related Search

Related Contents

Dura-Flo ™ Pumpen  4.4 CIeLOS RASOS SUPeRbOARd - Decodrywall  Décembre 2009 - n°53  509 厨房用品  SBS TEAEROLU1520K mobile phone case  

Copyright © All rights reserved.
Failed to retrieve file