1
0

default.json 2.4 KB

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