You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OV_TACTILE_PANDA.conf 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. ########################################################################################################################
  2. # This configuration file contains declarations of variables used by the scenarios of the tactile BCI System #
  3. # #
  4. # Add --config PATH_TO_THIS_FILE when starting the designer from the command line #
  5. # USE --define TOKEN VALUE to assign a different value to a token without changing the default configuration #
  6. # #
  7. # #
  8. # Scenarios requiring this configuration file: p300-tactile-0-signal-monitoring.xml, p300-tactile-1-acquisition.xml, #
  9. # p300-tactile-2-train-xDAWN.xml, p300-tactile-3-train-classifier.xml, #
  10. # p300-tactile-4-online.xml #
  11. # #
  12. # Author : Tobias Baumann #
  13. # Date : 2021-12-27 #
  14. ########################################################################################################################
  15. ########################################################################################################################
  16. # General Settings #
  17. ########################################################################################################################
  18. PATH_CONFIG = ${Player_ScenarioDirectory}/cfg
  19. PATH_SCRIPTS = ${Player_ScenarioDirectory}/scripts
  20. PATH_SIGNALS = ${Player_ScenarioDirectory}/signals
  21. PATH_UI = ${Player_ScenarioDirectory}/ui
  22. ROW_BASE = OVTK_StimulationId_Label_01
  23. N_TACTILOS = 6
  24. FREE_SPELLING = true
  25. ########################################################################################################################
  26. # Acquisition and Signal Processing #
  27. ########################################################################################################################
  28. ACQUISITION_SERVER_HOST_NAME = ${AcquisitionServer_HostName}
  29. ACQUISITION_SERVER_PORT = 1024
  30. CHANNEL_SELECTION = 1;2;3;4;5;6;7;8
  31. SIGNAL_DECIMATION_FACTOR = 2
  32. FILTER_TYPE = Band Pass
  33. FILTER_ORDER = 4
  34. LOW_CUT_FREQUENCY = 1.000000
  35. HIGH_CUT_FREQUENCY = 20.000000
  36. ########################################################################################################################
  37. # Stimulation #
  38. ########################################################################################################################
  39. SCRIPT_TACTILE_STIMULATOR = ${PATH_SCRIPTS}/p300-tactile-stimulator.lua
  40. N_REPETITIONS = 4
  41. N_TRIALS = 4
  42. STIM_DURATION = 0.2
  43. NO_STIM_DURATION = 0.1
  44. INTER_REPETITION_DELAY = 1.0
  45. INTER_TRIAL_DELAY = 4.0
  46. START_STIMULATION = OVTK_StimulationId_Label_00
  47. START_DELAY = 20
  48. ########################################################################################################################
  49. # Tactilo Control #
  50. ########################################################################################################################
  51. SERIAL_PORT = /dev/ttyACM0
  52. ########################################################################################################################
  53. # Target Generation #
  54. ########################################################################################################################
  55. SCRIPT_TARGET_GENERATION = ${PATH_SCRIPTS}/p300-tactile-target.lua
  56. SEND_DELAY = 2
  57. ########################################################################################################################
  58. # FILE I/O #
  59. ########################################################################################################################
  60. OUTPUT_FILE_NAME = ${PATH_SIGNALS}/p300-tactile-session.ov
  61. INPUT_FILE_NAME = ${PATH_SIGNALS}/p300-tactile-session.ov
  62. ########################################################################################################################
  63. # xDAWN Spatial Filter #
  64. ########################################################################################################################
  65. SPATIAL_TRAIN_TRIGGER = OVTK_StimulationId_ExperimentStop
  66. SPATIAL_FILTER_CONFIG = ${PATH_CONFIG}/p300-spatial-filter.cfg
  67. FILTER_DIMENSION = 2
  68. ########################################################################################################################
  69. # P300 Classifier #
  70. ########################################################################################################################
  71. CLASSIFIER_TRAIN_TRIGGER = OVTK_StimulationId_ExperimentStop
  72. CLASSIFIER_CONFIG = ${PATH_CONFIG}/p300-classifier.cfg
  73. MULTICLASS_STRATEGY = Native
  74. CLASS_1 = OVTK_StimulationId_Target
  75. CLASS_2 = OVTK_StimulationId_NonTarget
  76. ALGORITHM = Linear Discrimimant Analysis (LDA)
  77. USE_SHRINKAGE = false
  78. SHRINKAGE_COEFFICIENT = -1.000000
  79. SHRINKAGE_FORCE_DIAGONAL_COV = false
  80. N_PARTITIONS = 5
  81. CLASS_BALANCE = false
  82. ########################################################################################################################
  83. # P300 ACCUMULATOR #
  84. ########################################################################################################################
  85. SCRIPT_P300_ACCUMULATOR = ${PATH_SCRIPTS}/p300-tactile-accumulator.lua
  86. ########################################################################################################################
  87. # Tactile Visualization #
  88. ########################################################################################################################
  89. TACTILE_UI = ${PATH_UI}/p300-tactile-6.ui
  90. FLASH_BG = 5,5,5
  91. FLASH_FG = 100,100,100
  92. FLASH_FONT_SIZE = 50
  93. NO_FLASH_BG = 0,0,0
  94. NO_FLASH_FG = 25,25,25
  95. NO_FLASH_FONT_SIZE = 50
  96. TARGET_BG = 20,20,70
  97. TARGET_FG = 10,10,30
  98. TARGET_FONT_SIZE = 50
  99. SELECTED_BG = 10,40,10
  100. SELECTED_FG = 60,100,60
  101. SELECTED_FONT_SIZE = 50