data.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "//data.json": "Apptrace plotting config file for 'read_trace.py'",
  3. "//Summary and usage": "This file is used for apptrace plotting. You can use this json file with '--plot-config' parameter of the 'read_trace.py' file is to configure graphs for visualizing sensor data",
  4. "//More information": "To get more information about apptrace plotting and configuration file, please check 'app_trace_to_plot' example in '../examples/system' and 'read_trace.py' file",
  5. "Temperature sensors": {
  6. "data_streams" : {
  7. "Outside temperature": {
  8. "id": 1,
  9. "x_axis_data_size": 4,
  10. "x_axis_timestamp":true,
  11. "y_axis_data_size": 1,
  12. "data_type": "int",
  13. "opacity": 0.5,
  14. "line_color":"crimson",
  15. "marker_line_width":2,
  16. "marker_size":9,
  17. "mode": "lines+markers"
  18. },
  19. "Engine temperature": {
  20. "id": 2,
  21. "x_axis_data_size": 4,
  22. "x_axis_timestamp":true,
  23. "y_axis_data_size": 2,
  24. "data_type": "int",
  25. "line_color": "#0d0887",
  26. "mode": "lines+markers"
  27. }
  28. },
  29. "xaxis_title": "Timestamp",
  30. "yaxis_title": "Temperature in Celcius"
  31. },
  32. "Altitude sensors": {
  33. "data_streams" : {
  34. "Altitude": {
  35. "id": 3,
  36. "x_axis_data_size": 4,
  37. "x_axis_timestamp":true,
  38. "y_axis_data_size": 4,
  39. "data_type": "int",
  40. "fill": "tozeroy",
  41. "fillcolor": "gray",
  42. "hovertext": "(in meter)",
  43. "type": "scatter",
  44. "fillpattern": {
  45. "shape": "x"
  46. },
  47. "error_y": {
  48. "type":"percent",
  49. "value": 10
  50. },
  51. "mode": "markers"
  52. }
  53. },
  54. "xaxis_title": "Timestamp",
  55. "yaxis_title": "Altitude in meters"
  56. },
  57. "Pressure sensors": {
  58. "data_streams" : {
  59. "Pressure": {
  60. "id": 4,
  61. "x_axis_data_size": 4,
  62. "x_axis_timestamp":true,
  63. "y_axis_data_size": 8,
  64. "data_type": "float",
  65. "precision": 2,
  66. "type": "bar"
  67. }
  68. },
  69. "xaxis_title": "Timestamp",
  70. "yaxis_title": "Pressure in milibar"
  71. }
  72. }