default.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "camera": {
  3. "source": 0,
  4. "frame_width": 1024,
  5. "frame_height": 768,
  6. "fps": 20,
  7. "api": 700,
  8. "verbose": true
  9. },
  10. "video": {
  11. "fps": 20,
  12. "file_path": "video.avi"
  13. },
  14. "position": {
  15. "background_light": "background_light.png",
  16. "background_dark": "background_dark.png",
  17. "threshold": 20,
  18. "arena_x": 526,
  19. "arena_y": 376,
  20. "arena_radius": 330,
  21. "floor_radius": 285,
  22. "max_fps": 50,
  23. "file_path": "positions.csv",
  24. "floor_r_in_meters": 0.46,
  25. "flip_x": true,
  26. "flip_y": false
  27. },
  28. "sound": {
  29. "device": [1, 26],
  30. "n_channels": 10,
  31. "sounds": {
  32. "noise": {"amp": 0.5, "channels": [6]},
  33. "background": {"freq": 10000, "amp": 0.23, "channels": [6]},
  34. "target": {"freq": 660, "amp": 0.15, "channels": [6]},
  35. "distractor1": {"freq": 860, "amp": 0.15, "channels": [1, 3], "enabled": false},
  36. "distractor2": {"freq": 1060, "amp": 0.25, "channels": [1, 3], "enabled": false},
  37. "distractor3": {"freq": 1320, "amp": 0.2, "channels": [1, 3], "enabled": false}
  38. },
  39. "pulse_duration": 0.05,
  40. "sample_rate": 44100,
  41. "latency": 0.25,
  42. "volume": 0.7,
  43. "roving": 5.0,
  44. "file_path": "sounds.csv"
  45. },
  46. "experiment": {
  47. "trial_number": 600,
  48. "session_duration": 1800,
  49. "trial_duration": 60,
  50. "target_radius": 0.13,
  51. "target_duration": 6,
  52. "subject": "47",
  53. "experiment_type": "aSIT",
  54. "distractor_island": 0,
  55. "MCSArduinoPort": "COM10",
  56. "feeder_port": "COM8",
  57. "file_path": "events.csv",
  58. "light_events": []
  59. }
  60. }