default.json 2.3 KB

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