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_LINUX.conf 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 #
  17. ########################################################################################################################
  18. PATH_CONFIG = ${Player_ScenarioDirectory}/cfg
  19. PATH_SCRIPTS = ${Player_ScenarioDirectory}/scripts
  20. PATH_SIGNALS = ${Player_ScenarioDirectory}/signals
  21. PATH_UI = ${Player_ScenarioDirectory}
  22. ROW_BASE = OVTK_StimulationId_Label_01
  23. COL_BASE = OVTK_StimulationId_Label_07
  24. FREE_SPELLING = true
  25. ########################################################################################################################
  26. # Acquisition and Signal Processing #
  27. ########################################################################################################################
  28. ACQUISITION_SERVER_HOST_NAME = ${AcquisitionServer_HostName}
  29. ACQUISITION_SERVER_PORT = 1024
  30. SIGNAL_DECIMATION_FACTOR = 2
  31. FILTER_METHOD = Butterworth
  32. FILTER_TYPE = Band Pass
  33. FILTER_ORDER = 4
  34. LOW_CUT_FREQUENCY = 1.000000
  35. HIGH_CUT_FREQUENCY = 20.000000
  36. PASS_BAND_RIPPLE = 0.500000
  37. ########################################################################################################################
  38. # Stimulation #
  39. ########################################################################################################################
  40. SCRIPT_TACTILE_STIMULATOR = ${PATH_SCRIPTS}/p300-tactile-stimulator.lua
  41. N_TACTILOS = 6
  42. N_REPETITIONS = 4
  43. N_TRIALS = 4
  44. STIM_DURATION = 0.2
  45. NO_STIM_DURATION = 0.1
  46. INTER_REPETITION_DELAY = 1.0
  47. INTER_TRIAL_DELAY = 3.0
  48. START_STIMULATION = OVTK_StimulationId_Label_00
  49. START_DELAY = 20
  50. ########################################################################################################################
  51. # Tactilo Control #
  52. ########################################################################################################################
  53. FEATHER_IP = 192.168.4.1
  54. FEATHER_PORT = 8888
  55. ########################################################################################################################
  56. # Target Generation #
  57. ########################################################################################################################
  58. SCRIPT_TARGET_GENERATION = ${PATH_SCRIPTS}/p300-tactile-target.lua
  59. SEND_DELAY = 2
  60. ########################################################################################################################
  61. # FILE I/O #
  62. ########################################################################################################################
  63. OUTPUT_FILE_NAME = ${PATH_SIGNALS}/p300-tactile-session.ov
  64. INPUT_FILE_NAME = ${PATH_SIGNALS}/p300-tactile-session.ov
  65. ########################################################################################################################
  66. # xDAWN Spatial Filter #
  67. ########################################################################################################################
  68. SPATIAL_TRAIN_TRIGGER = OVTK_StimulationId_ExperimentStop
  69. SPATIAL_FILTER_CONFIG = ${PATH_CONFIG}/p300-spatial-filter.cfg
  70. FILTER_DIMENSION = 2
  71. ########################################################################################################################
  72. # P300 Classifier #
  73. ########################################################################################################################
  74. CLASSIFIER_TRAIN_TRIGGER = OVTK_StimulationId_ExperimentStop
  75. CLASSIFIER_CONFIG = ${PATH_CONFIG}/p300-classifier.cfg
  76. MULTICLASS_STRATEGY = Native
  77. CLASS_1 = OVTK_StimulationId_Target
  78. CLASS_2 = OVTK_StimulationId_NonTarget
  79. ALGORITHM = Linear Discrimimant Analysis (LDA)
  80. USE_SHRINKAGE = false
  81. SHRINKAGE_COEFFICIENT = -1.000000
  82. SHRINKAGE_FORCE_DIAGONAL_COV = false
  83. N_PARTITIONS = 5
  84. CLASS_BALANCE = false
  85. ########################################################################################################################
  86. # P300 ACCUMULATOR #
  87. ########################################################################################################################
  88. SCRIPT_P300_ACCUMULATOR = ${PATH_SCRIPTS}/p300-tactile-accumulator.lua
  89. ########################################################################################################################
  90. # Speller Visualization #
  91. ########################################################################################################################
  92. TACTILE_UI = ${PATH_UI}/p300-tactile.ui
  93. FLASH_BG = 5,5,5
  94. FLASH_FG = 100,100,100
  95. FLASH_FONT_SIZE = 50
  96. NO_FLASH_BG = 0,0,0
  97. NO_FLASH_FG = 25,25,25
  98. NO_FLASH_FONT_SIZE = 50
  99. TARGET_BG = 20,20,70
  100. TARGET_FG = 10,10,30
  101. TARGET_FONT_SIZE = 50
  102. SELECTED_BG = 10,40,10
  103. SELECTED_FG = 60,100,60
  104. SELECTED_FONT_SIZE = 50