default.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. "save_contours": false,
  14. "csv_path": "video.csv"
  15. },
  16. "microphones": {
  17. "record_audio": false,
  18. "sample_rate": 192000,
  19. "device": 58,
  20. "number_channels": 4,
  21. "channel_selectors": [8,9,10,11],
  22. "file_path": "audio.mat5",
  23. "csv_path": "microphones.csv"
  24. },
  25. "position": {
  26. "single_agent": true,
  27. "history_duration": 5,
  28. "hd_update_speed": 0.04,
  29. "background_light": "background_light.png",
  30. "background_dark": "background_dark.png",
  31. "threshold_light": 45,
  32. "threshold_dark": 30,
  33. "min_blob_size": 100,
  34. "subtract": 1,
  35. "arena_x": 524,
  36. "arena_y": 372,
  37. "arena_radius": 315,
  38. "floor_radius": 284,
  39. "max_fps": 50,
  40. "file_path": "positions.csv",
  41. "contour_path": "contours.csv",
  42. "floor_r_in_meters": 0.46,
  43. "angle_compensation": 90,
  44. "flip_x": true,
  45. "flip_y": false
  46. },
  47. "sound": {
  48. "device": [1, 26],
  49. "n_channels": 10,
  50. "sounds": {
  51. "noise": {"amp": 0.2, "channels": [6, 8]},
  52. "background": {"freq": 660, "amp": 0.05, "duration": 0.05, "harmonics": true, "channels": [1, 8]},
  53. "target": {"freq": 660, "amp": 0.1, "duration": 0.05, "harmonics": true, "channels": [2, 8]},
  54. "distractor1": {"freq": 660, "amp": 0.05, "duration": 0.05, "harmonics": true, "channels": [3, 8], "enabled": true},
  55. "distractor2": {"freq": 660, "amp": 0.1, "duration": 0.05, "harmonics": true, "channels": [2, 8], "enabled": false}
  56. },
  57. "pulse_duration": 0.05,
  58. "sample_rate": 44100,
  59. "latency": 0.25,
  60. "volume": 0.7,
  61. "roving": 5.0,
  62. "file_path": "sounds.csv"
  63. },
  64. "experiment": {
  65. "trial_number": 100,
  66. "session_duration": 3000,
  67. "trial_duration": 6000,
  68. "target_radius": 0.14,
  69. "target_duration": 50.0,
  70. "target_angle": "random",
  71. "unaudible_profile": 0,
  72. "subject": "000000",
  73. "experiment_type": "hippoSIT",
  74. "MCSArduinoPort": "COM10",
  75. "file_path": "events.csv",
  76. "light_events": [9600, 92400],
  77. "phi_max": 45,
  78. "timepoints": [9600, 91200, 91800, 92400],
  79. "iti_distance": 2.0,
  80. "iti_duration": 20,
  81. "punishment_duration": 10,
  82. "distractor_islands": 1,
  83. "distractor_fail": false,
  84. "enable_motors": false
  85. }
  86. }