default.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "camera": {
  3. "source": 0,
  4. "frame_width": 1024,
  5. "frame_height": 768,
  6. "fps": 30,
  7. "api": 700,
  8. "verbose": true
  9. },
  10. "video": {
  11. "fps": 30,
  12. "file_path": "video.avi",
  13. "frame_attr_name": "frame_with_infos",
  14. "save_contours": false,
  15. "csv_path": "video.csv"
  16. },
  17. "microphones": {
  18. "record_audio": false,
  19. "sample_rate": 192000,
  20. "device": "ASIO Fireface USB",
  21. "number_channels": 4,
  22. "channel_selectors": [
  23. 8,
  24. 9,
  25. 10,
  26. 11
  27. ],
  28. "file_path": "audio.mat5",
  29. "csv_path": "microphones.csv"
  30. },
  31. "position": {
  32. "single_agent": true,
  33. "history_duration": 5,
  34. "hd_update_speed": 0.04,
  35. "background_light": "background_light.png",
  36. "background_dark": "background_dark.png",
  37. "threshold_light": 45,
  38. "threshold_dark": 30,
  39. "min_blob_size": 100,
  40. "subtract": 1,
  41. "arena_x": 524,
  42. "arena_y": 372,
  43. "arena_radius": 315,
  44. "floor_radius": 284,
  45. "max_fps": 50,
  46. "file_path": "positions.csv",
  47. "contour_path": "contours.csv",
  48. "floor_r_in_meters": 0.46,
  49. "angle_compensation": 90,
  50. "flip_x": true,
  51. "flip_y": false
  52. },
  53. "sound": {
  54. "device": "ASIO Fireface USB",
  55. "n_channels": 16,
  56. "sounds": {
  57. "noise": {
  58. "amp": 0.2,
  59. "channels": [
  60. 6
  61. ]
  62. },
  63. "background": {
  64. "freq": 660,
  65. "amp": 0.05,
  66. "duration": 0.05,
  67. "harmonics": true,
  68. "channels": [
  69. 5
  70. ]
  71. },
  72. "target": {
  73. "freq": 660,
  74. "amp": 0.1,
  75. "duration": 0.05,
  76. "harmonics": true,
  77. "channels": [
  78. 4
  79. ]
  80. },
  81. "distractor1": {
  82. "freq": 660,
  83. "amp": 0.05,
  84. "duration": 0.05,
  85. "harmonics": true,
  86. "channels": [
  87. 5
  88. ],
  89. "enabled": true
  90. },
  91. "distractor2": {
  92. "freq": 660,
  93. "amp": 0.1,
  94. "duration": 0.05,
  95. "harmonics": true,
  96. "channels": [
  97. 4
  98. ],
  99. "enabled": false
  100. }
  101. },
  102. "cont_noise": {
  103. "filepath": "stream2.wav",
  104. "amp": 0.1,
  105. "channels": [
  106. 3
  107. ],
  108. "enabled": true
  109. },
  110. "pulse_duration": 0.05,
  111. "sample_rate": 192000,
  112. "latency": 0.25,
  113. "volume": 0.7,
  114. "roving": 5.0,
  115. "file_path": "sounds.csv"
  116. },
  117. "experiment": {
  118. "trial_number": 100,
  119. "session_duration": 3000,
  120. "trial_duration": 6000,
  121. "target_radius": 0.14,
  122. "target_duration": 50.0,
  123. "target_angle": "random",
  124. "unaudible_profile": 0,
  125. "subject": "000000",
  126. "experiment_type": "hippoSIT",
  127. "MCSArduinoPort": "COM10",
  128. "file_path": "events.csv",
  129. "light_events": [
  130. 9600,
  131. 92400
  132. ],
  133. "phi_max": 45,
  134. "timepoints": [
  135. 9600,
  136. 91200,
  137. 91800,
  138. 92400
  139. ],
  140. "iti_distance": 2.0,
  141. "iti_duration": 20,
  142. "silence_before": 0,
  143. "silence_after": 0,
  144. "punishment_duration": 10,
  145. "distractor_islands": 0,
  146. "distractor_fail": false,
  147. "enable_motors": false,
  148. "n_pellets": 1
  149. }
  150. }