default.json 2.4 KB

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