trajectopy 6.2.0__tar.gz → 7.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. trajectopy-7.0.0/.gitattributes +10 -0
  2. {trajectopy-6.2.0 → trajectopy-7.0.0}/.github/ISSUE_TEMPLATE/bug_report.md +2 -3
  3. {trajectopy-6.2.0 → trajectopy-7.0.0}/.github/workflows/ci.yml +18 -2
  4. {trajectopy-6.2.0 → trajectopy-7.0.0}/.github/workflows/release.yml +25 -6
  5. trajectopy-7.0.0/.gitignore +47 -0
  6. trajectopy-7.0.0/CHANGELOG.md +215 -0
  7. {trajectopy-6.2.0 → trajectopy-7.0.0}/PKG-INFO +20 -5
  8. {trajectopy-6.2.0 → trajectopy-7.0.0}/README.md +94 -84
  9. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/align.py +1 -1
  10. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/alignment.py +1 -6
  11. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/ate.py +25 -25
  12. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/deviation_plots.py +36 -36
  13. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/rpe.py +20 -20
  14. {trajectopy-6.2.0 → trajectopy-7.0.0}/installer/trajectopy.iss +86 -86
  15. {trajectopy-6.2.0 → trajectopy-7.0.0}/pyproject.toml +17 -2
  16. {trajectopy-6.2.0 → trajectopy-7.0.0}/requirements.txt +17 -11
  17. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_alignment.py +247 -251
  18. trajectopy-7.0.0/test/test_alignment_diagnostics.py +246 -0
  19. trajectopy-7.0.0/test/test_api_consistency.py +121 -0
  20. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_approximation.py +9 -9
  21. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_architecture.py +61 -62
  22. trajectopy-7.0.0/test/test_cli.py +109 -0
  23. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_comparison.py +2 -2
  24. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_context_menus.py +183 -183
  25. trajectopy-7.0.0/test/test_docs.py +275 -0
  26. trajectopy-7.0.0/test/test_easter_egg.py +101 -0
  27. trajectopy-7.0.0/test/test_evaluation_extensions.py +151 -0
  28. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_fast_reading.py +3 -3
  29. trajectopy-7.0.0/test/test_file_api.py +52 -0
  30. trajectopy-7.0.0/test/test_file_dialogs.py +92 -0
  31. trajectopy-7.0.0/test/test_formats.py +110 -0
  32. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_gui_operations.py +223 -223
  33. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_gui_smoke.py +677 -648
  34. trajectopy-7.0.0/test/test_interactive_alignment.py +249 -0
  35. trajectopy-7.0.0/test/test_interactive_alignment_window.py +735 -0
  36. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_io.py +2 -22
  37. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_kml.py +406 -406
  38. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_matching.py +18 -22
  39. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_merging.py +240 -240
  40. trajectopy-7.0.0/test/test_options.py +51 -0
  41. trajectopy-7.0.0/test/test_positions.py +32 -0
  42. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_processing_edge_cases.py +7 -7
  43. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_processing_errors.py +49 -53
  44. trajectopy-7.0.0/test/test_public_api.py +229 -0
  45. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_readers_edge_cases.py +1 -1
  46. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_regressions.py +632 -631
  47. trajectopy-7.0.0/test/test_results_api.py +35 -0
  48. trajectopy-7.0.0/test/test_rosbag.py +150 -0
  49. trajectopy-7.0.0/test/test_settings_arguments.py +50 -0
  50. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_sorting.py +11 -15
  51. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_trajectory.py +192 -180
  52. trajectopy-7.0.0/test/test_trajectory_api.py +75 -0
  53. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_trajectory_validation.py +2 -2
  54. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_visualization.py +333 -302
  55. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/testdata.py +8 -8
  56. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/util.py +6 -6
  57. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/__init__.py +56 -27
  58. trajectopy-7.0.0/trajectopy/__version__.py +1 -0
  59. trajectopy-7.0.0/trajectopy/cli/commands.py +353 -0
  60. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/cli/main.py +13 -2
  61. trajectopy-7.0.0/trajectopy/core/__init__.py +3 -0
  62. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/core/parameters.py +132 -55
  63. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/core/positions.py +565 -508
  64. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/core/settings.py +313 -141
  65. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/core/trajectory.py +1044 -710
  66. trajectopy-7.0.0/trajectopy/exceptions.py +70 -0
  67. trajectopy-7.0.0/trajectopy/gui/alignment/__init__.py +1 -0
  68. trajectopy-7.0.0/trajectopy/gui/alignment/canvas.py +502 -0
  69. trajectopy-7.0.0/trajectopy/gui/alignment/diagnosis.py +336 -0
  70. trajectopy-7.0.0/trajectopy/gui/alignment/parameter_panel.py +198 -0
  71. trajectopy-7.0.0/trajectopy/gui/alignment/plots.py +663 -0
  72. trajectopy-7.0.0/trajectopy/gui/alignment/session.py +437 -0
  73. trajectopy-7.0.0/trajectopy/gui/alignment/window.py +419 -0
  74. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/app.py +43 -3
  75. trajectopy-7.0.0/trajectopy/gui/easter_egg.py +90 -0
  76. trajectopy-7.0.0/trajectopy/gui/file_dialog.py +196 -0
  77. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/log.py +98 -98
  78. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/file_manager.py +2 -2
  79. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/requests.py +258 -257
  80. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/trajectory_manager.py +18 -20
  81. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/ui_manager.py +429 -388
  82. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/entries.py +4 -4
  83. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/project_format.py +7 -4
  84. trajectopy-7.0.0/trajectopy/gui/resources/jingle.mp3 +0 -0
  85. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/themes.py +83 -2
  86. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/utils.py +25 -8
  87. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/about_window.py +105 -85
  88. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/json_settings_view.py +310 -310
  89. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/main_window.py +27 -24
  90. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/preview_plot.py +1 -1
  91. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/result_context_menu.py +10 -0
  92. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/trajectory_context_menu.py +3 -2
  93. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/__init__.py +33 -10
  94. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/ascii.py +35 -17
  95. trajectopy-7.0.0/trajectopy/io/formats.py +373 -0
  96. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/header.py +286 -279
  97. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/kml.py +479 -448
  98. trajectopy-7.0.0/trajectopy/io/results_io.py +460 -0
  99. trajectopy-7.0.0/trajectopy/io/rosbag.py +273 -0
  100. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/rosmsg.py +67 -62
  101. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/trajectory_io.py +44 -9
  102. trajectopy-7.0.0/trajectopy/processing/_lib/__init__.py +4 -0
  103. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/__init__.py +2 -2
  104. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/data.py +37 -16
  105. trajectopy-7.0.0/trajectopy/processing/_lib/alignment/diagnostics.py +512 -0
  106. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/direct.py +2 -2
  107. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/egrad_interface.py +103 -103
  108. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/estimation.py +609 -609
  109. trajectopy-7.0.0/trajectopy/processing/_lib/alignment/interactive.py +548 -0
  110. trajectopy-7.0.0/trajectopy/processing/_lib/approximation/__init__.py +9 -0
  111. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/alignment.py +125 -51
  112. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/approximation.py +24 -11
  113. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/evaluation.py +84 -84
  114. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/interpolation.py +47 -20
  115. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/matching.py +47 -33
  116. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/merging.py +38 -8
  117. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/sorting.py +50 -21
  118. trajectopy-7.0.0/trajectopy/report.py +241 -0
  119. trajectopy-7.0.0/trajectopy/results/alignment_result.py +105 -0
  120. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/results/ate_result.py +856 -593
  121. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/results/correlation.py +178 -157
  122. trajectopy-7.0.0/trajectopy/results/rpe_result.py +452 -0
  123. trajectopy-7.0.0/trajectopy/results/summary.py +208 -0
  124. trajectopy-7.0.0/trajectopy/utils/definitions.py +137 -0
  125. trajectopy-7.0.0/trajectopy/utils/deprecation.py +17 -0
  126. trajectopy-7.0.0/trajectopy/utils/rotations.py +66 -0
  127. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/statistics.py +268 -172
  128. trajectopy-7.0.0/trajectopy/utils/versions.py +55 -0
  129. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/__init__.py +93 -81
  130. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/_svg_export.py +1 -1
  131. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/figure.py +123 -16
  132. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/plots.py +1507 -931
  133. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/style.py +14 -2
  134. trajectopy-7.0.0/trajectopy-docs/docs/api/evaluation.md +27 -0
  135. trajectopy-7.0.0/trajectopy-docs/docs/api/exceptions.md +35 -0
  136. trajectopy-7.0.0/trajectopy-docs/docs/api/index.md +159 -0
  137. trajectopy-7.0.0/trajectopy-docs/docs/api/io.md +103 -0
  138. trajectopy-7.0.0/trajectopy-docs/docs/api/processing.md +55 -0
  139. trajectopy-7.0.0/trajectopy-docs/docs/api/results.md +59 -0
  140. trajectopy-7.0.0/trajectopy-docs/docs/api/settings.md +95 -0
  141. trajectopy-7.0.0/trajectopy-docs/docs/api/trajectory.md +15 -0
  142. trajectopy-7.0.0/trajectopy-docs/docs/api/utilities.md +7 -0
  143. trajectopy-7.0.0/trajectopy-docs/docs/api/visualization.md +117 -0
  144. trajectopy-7.0.0/trajectopy-docs/docs/api_policy.md +100 -0
  145. trajectopy-7.0.0/trajectopy-docs/docs/contributing.md +74 -0
  146. trajectopy-7.0.0/trajectopy-docs/docs/getting_started.md +148 -0
  147. trajectopy-7.0.0/trajectopy-docs/docs/index.md +116 -0
  148. trajectopy-7.0.0/trajectopy-docs/docs/installation.md +82 -0
  149. trajectopy-7.0.0/trajectopy-docs/docs/release_notes.md +1 -0
  150. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy-docs/docs/stylesheets/extra.css +5 -1
  151. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/alignment.md +147 -0
  152. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/command_line.md +143 -0
  153. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/evaluation.md +211 -0
  154. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/file_formats.md +250 -0
  155. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/glossary.md +67 -0
  156. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/google_earth.md +76 -0
  157. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/gui.md +235 -0
  158. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/index.md +60 -0
  159. {trajectopy-6.2.0/trajectopy-docs/docs → trajectopy-7.0.0/trajectopy-docs/docs/user_guide}/settings.md +197 -204
  160. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/trajectories.md +203 -0
  161. trajectopy-7.0.0/trajectopy-docs/docs/user_guide/visualization.md +105 -0
  162. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy-docs/mkdocs.yml +33 -29
  163. {trajectopy-6.2.0 → trajectopy-7.0.0}/uv.lock +73 -48
  164. trajectopy-6.2.0/.gitattributes +0 -12
  165. trajectopy-6.2.0/.gitignore +0 -66
  166. trajectopy-6.2.0/.pylintrc +0 -343
  167. trajectopy-6.2.0/test/test_manual_alignment.py +0 -362
  168. trajectopy-6.2.0/test/test_positions_rotations.py +0 -89
  169. trajectopy-6.2.0/trajectopy/__version__.py +0 -1
  170. trajectopy-6.2.0/trajectopy/core/__init__.py +0 -3
  171. trajectopy-6.2.0/trajectopy/core/rotations.py +0 -147
  172. trajectopy-6.2.0/trajectopy/exceptions.py +0 -47
  173. trajectopy-6.2.0/trajectopy/gui/views/manual_alignment_window.py +0 -1128
  174. trajectopy-6.2.0/trajectopy/io/results_io.py +0 -261
  175. trajectopy-6.2.0/trajectopy/io/rosbag.py +0 -116
  176. trajectopy-6.2.0/trajectopy/processing/lib/__init__.py +0 -5
  177. trajectopy-6.2.0/trajectopy/processing/lib/alignment/parameters.py +0 -10
  178. trajectopy-6.2.0/trajectopy/processing/lib/approximation/__init__.py +0 -9
  179. trajectopy-6.2.0/trajectopy/readers/__init__.py +0 -1
  180. trajectopy-6.2.0/trajectopy/readers/ascii.py +0 -12
  181. trajectopy-6.2.0/trajectopy/readers/rosbag.py +0 -3
  182. trajectopy-6.2.0/trajectopy/readers/rosmsg.py +0 -3
  183. trajectopy-6.2.0/trajectopy/readers/utils.py +0 -3
  184. trajectopy-6.2.0/trajectopy/results/alignment_result.py +0 -57
  185. trajectopy-6.2.0/trajectopy/results/rpe_result.py +0 -289
  186. trajectopy-6.2.0/trajectopy/utils/common.py +0 -63
  187. trajectopy-6.2.0/trajectopy/utils/definitions.py +0 -93
  188. trajectopy-6.2.0/trajectopy-docs/docs/api/core/parameters.md +0 -3
  189. trajectopy-6.2.0/trajectopy-docs/docs/api/core/positions.md +0 -3
  190. trajectopy-6.2.0/trajectopy-docs/docs/api/core/rotations.md +0 -3
  191. trajectopy-6.2.0/trajectopy-docs/docs/api/core/settings.md +0 -3
  192. trajectopy-6.2.0/trajectopy-docs/docs/api/core/trajectory.md +0 -3
  193. trajectopy-6.2.0/trajectopy-docs/docs/api/index.md +0 -39
  194. trajectopy-6.2.0/trajectopy-docs/docs/api/io/kml.md +0 -3
  195. trajectopy-6.2.0/trajectopy-docs/docs/api/io/results_io.md +0 -3
  196. trajectopy-6.2.0/trajectopy-docs/docs/api/io/rosbag.md +0 -3
  197. trajectopy-6.2.0/trajectopy-docs/docs/api/io/trajectory_io.md +0 -3
  198. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/alignment.md +0 -3
  199. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/approximation.md +0 -3
  200. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/evaluation.md +0 -3
  201. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/interpolation.md +0 -3
  202. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/matching.md +0 -3
  203. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/merging.md +0 -3
  204. trajectopy-6.2.0/trajectopy-docs/docs/api/processing/sorting.md +0 -3
  205. trajectopy-6.2.0/trajectopy-docs/docs/api/results/alignment_result.md +0 -3
  206. trajectopy-6.2.0/trajectopy-docs/docs/api/results/ate_result.md +0 -3
  207. trajectopy-6.2.0/trajectopy-docs/docs/api/results/rpe_result.md +0 -3
  208. trajectopy-6.2.0/trajectopy-docs/docs/api/visualization/display.md +0 -3
  209. trajectopy-6.2.0/trajectopy-docs/docs/api/visualization/figures.md +0 -3
  210. trajectopy-6.2.0/trajectopy-docs/docs/file_formats.md +0 -207
  211. trajectopy-6.2.0/trajectopy-docs/docs/index.md +0 -153
  212. trajectopy-6.2.0/trajectopy-docs/docs/user_guide.md +0 -433
  213. {trajectopy-6.2.0 → trajectopy-7.0.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  214. {trajectopy-6.2.0 → trajectopy-7.0.0}/.pre-commit-config.yaml +0 -0
  215. {trajectopy-6.2.0 → trajectopy-7.0.0}/CITATION.cff +0 -0
  216. {trajectopy-6.2.0 → trajectopy-7.0.0}/LICENSE +0 -0
  217. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_data/KITTI_ORB.traj +0 -0
  218. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_data/KITTI_SPTAM.traj +0 -0
  219. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_data/KITTI_gt.traj +0 -0
  220. {trajectopy-6.2.0 → trajectopy-7.0.0}/example_scripts/trajectory_plot.py +0 -0
  221. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/__init__.py +0 -0
  222. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/abs_dev.result +0 -0
  223. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/align_entry.result +0 -0
  224. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/generated_trajectory.traj +0 -0
  225. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/noisy_trajectory.traj +0 -0
  226. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/open_loop_trajectory.traj +0 -0
  227. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/rel_dev_meter.result +0 -0
  228. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/data/rel_dev_second.result +0 -0
  229. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_correlation.py +0 -0
  230. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_gui_models.py +0 -0
  231. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_inplace_contract.py +0 -0
  232. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_pipeline.py +0 -0
  233. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_project.py +0 -0
  234. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_readers_errors.py +0 -0
  235. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_settings.py +0 -0
  236. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_settings_edge_cases.py +0 -0
  237. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_settings_serialization.py +0 -0
  238. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_settings_validation.py +0 -0
  239. {trajectopy-6.2.0 → trajectopy-7.0.0}/test/test_update_check.py +0 -0
  240. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/LICENSE +0 -0
  241. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/__main__.py +0 -0
  242. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/cli/__init__.py +0 -0
  243. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/__init__.py +0 -0
  244. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/__init__.py +0 -0
  245. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/plot_manager.py +0 -0
  246. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/managers/project_manager.py +0 -0
  247. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/__init__.py +0 -0
  248. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/property_model.py +0 -0
  249. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/result_model.py +0 -0
  250. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/selection.py +0 -0
  251. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/table_model.py +0 -0
  252. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/models/trajectory_model.py +0 -0
  253. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/project.py +0 -0
  254. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/resources/full-icon-poppins.png +0 -0
  255. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/resources/icon-bg.ico +0 -0
  256. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/resources/icon-bg.png +0 -0
  257. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/resources/icon.png +0 -0
  258. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/update_check.py +0 -0
  259. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/__init__.py +0 -0
  260. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/alignment_edit_window.py +0 -0
  261. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/dof_organizer.py +0 -0
  262. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/entry_table_view.py +0 -0
  263. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/kml_dialog.py +0 -0
  264. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/log_panel.py +0 -0
  265. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/menu_helpers.py +0 -0
  266. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/playback_window.py +0 -0
  267. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/preview_plot_3d.py +0 -0
  268. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/progress_window.py +0 -0
  269. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/properties_panel.py +0 -0
  270. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/result_selection_window.py +0 -0
  271. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/result_table_view.py +0 -0
  272. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/splash_screen.py +0 -0
  273. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/timeline_widget.py +0 -0
  274. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/views/trajectory_table_view.py +0 -0
  275. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/gui/worker.py +0 -0
  276. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/io/utils.py +0 -0
  277. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/processing/__init__.py +0 -0
  278. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/alignment/equations.py +0 -0
  279. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/approximation/cubic_approximation.py +0 -0
  280. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/approximation/line_approximation.py +0 -0
  281. {trajectopy-6.2.0/trajectopy/processing/lib → trajectopy-7.0.0/trajectopy/processing/_lib}/approximation/voxelizer.py +0 -0
  282. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/py.typed +0 -0
  283. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/results/__init__.py +0 -0
  284. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/__init__.py +0 -0
  285. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/colors.py +0 -0
  286. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/formatting.py +0 -0
  287. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/geometry.py +0 -0
  288. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/linalg.py +0 -0
  289. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/numeric.py +0 -0
  290. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/utils/resources.py +0 -0
  291. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy/visualization/axes.py +0 -0
  292. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy-docs/docs/assets/icon.png +0 -0
  293. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy-docs/docs/javascripts/mathjax.js +0 -0
  294. {trajectopy-6.2.0 → trajectopy-7.0.0}/trajectopy.spec +0 -0
@@ -0,0 +1,10 @@
1
+ # Never convert line endings in binary files
2
+ *.png binary
3
+ *.ico binary
4
+ *.gif binary
5
+ *.jpg binary
6
+ *.jpeg binary
7
+ *.pdf binary
8
+ *.bag binary
9
+ *.mcap binary
10
+ *.mp3 binary
@@ -23,9 +23,8 @@ A clear and concise description of what you expected to happen.
23
23
  **Screenshots**
24
24
  If applicable, add screenshots to help explain your problem.
25
25
 
26
- **Desktop (please complete the following information):**
27
- - OS
28
- - Python version
26
+ **Versions**
27
+ Please paste the output of `python -c "import trajectopy; trajectopy.show_versions()"`.
29
28
 
30
29
  **Additional context**
31
30
  Add any other context about the problem here.
@@ -22,7 +22,7 @@ jobs:
22
22
  fail-fast: false
23
23
  matrix:
24
24
  os: [ubuntu-latest, windows-latest]
25
- python-version: ["3.10", "3.11", "3.12", "3.13"]
25
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
26
26
  env:
27
27
  # plots and the GUI are tested without a display
28
28
  QT_QPA_PLATFORM: offscreen
@@ -35,7 +35,23 @@ jobs:
35
35
  run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libfontconfig1 libdbus-1-3
36
36
  # with the optional pyarrow reader; the core-only job covers reading without it
37
37
  - run: uv sync --group dev --extra gui --extra fast
38
- - run: uv run pytest -q --cov=trajectopy --cov-report=term
38
+ # fails below the threshold of [tool.coverage.report] in pyproject.toml
39
+ - run: uv run pytest -q --cov=trajectopy --cov-report=term --cov-report=xml
40
+ - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
41
+ uses: actions/upload-artifact@v4
42
+ with:
43
+ name: coverage
44
+ path: coverage.xml
45
+
46
+ docs:
47
+ # broken links, anchors and API references fail the build
48
+ runs-on: ubuntu-latest
49
+ steps:
50
+ - uses: actions/checkout@v4
51
+ - uses: astral-sh/setup-uv@v6
52
+ - run: uv sync --group dev
53
+ - run: uv run mkdocs build --strict
54
+ working-directory: trajectopy-docs
39
55
 
40
56
  core-only:
41
57
  # the package must work without the optional plotting/GUI dependencies
@@ -1,9 +1,9 @@
1
1
  name: Release
2
2
 
3
- # Pushing a version tag (e.g. v5.1.0, matching trajectopy/__version__.py) builds the app for Windows (installer),
4
- # macOS (.dmg, Apple Silicon) and Linux (.tar.gz, x86-64) and attaches them to the GitHub release of that tag
5
- # (created with generated notes if it does not exist yet). The update check of installed apps then finds the new
6
- # version.
3
+ # Pushing a version tag (e.g. v7.0.0, matching trajectopy/__version__.py) builds the app for Windows (installer),
4
+ # macOS (.dmg, Apple Silicon) and Linux (.tar.gz, x86-64) and attaches them to the GitHub release of that tag.
5
+ # The text of the release is the section of that version in CHANGELOG.md (e.g. "## 7.0.0"); a tag without such a
6
+ # section fails. The update check of installed apps then finds the new version.
7
7
  # Running the workflow manually only builds the packages and keeps them as workflow artifacts.
8
8
  #
9
9
  # PyInstaller cannot cross-compile, so each package is built on a runner of its platform. The Linux build runs on
@@ -57,6 +57,10 @@ jobs:
57
57
  echo "::error::Tag $GITHUB_REF_NAME does not match the package version $version"
58
58
  exit 1
59
59
  fi
60
+ if [[ "$GITHUB_REF_TYPE" == "tag" ]] && ! grep -qx "## $version" CHANGELOG.md; then
61
+ echo "::error::CHANGELOG.md has no section '## $version' for the release notes"
62
+ exit 1
63
+ fi
60
64
 
61
65
  - name: Build the app
62
66
  run: uv run pyinstaller --noconfirm trajectopy.spec
@@ -106,13 +110,28 @@ jobs:
106
110
  needs: build
107
111
  runs-on: ubuntu-latest
108
112
  steps:
113
+ - uses: actions/checkout@v4
114
+ with:
115
+ sparse-checkout: CHANGELOG.md
116
+ sparse-checkout-cone-mode: false
117
+
118
+ - name: Take the release notes from the changelog
119
+ run: |
120
+ version="${GITHUB_REF_NAME#v}"
121
+ awk -v heading="## $version" '$0 == heading {found = 1; next} found && /^## / {exit} found' \
122
+ CHANGELOG.md > release_notes.md
123
+ if [[ ! -s release_notes.md ]]; then
124
+ echo "::error::CHANGELOG.md has no section '## $version' for the release notes"
125
+ exit 1
126
+ fi
127
+
109
128
  - uses: actions/download-artifact@v4
110
129
  with:
111
130
  path: dist
112
131
  merge-multiple: true
113
132
 
114
- - name: Attach the packages to the release
133
+ - name: Attach the packages and the release notes to the release
115
134
  uses: softprops/action-gh-release@v2
116
135
  with:
117
136
  files: dist/*
118
- generate_release_notes: true
137
+ body_path: release_notes.md
@@ -0,0 +1,47 @@
1
+ # Python
2
+ __pycache__/
3
+ *.pyc
4
+ *.egg-info/
5
+ .venv*/
6
+ .python-version
7
+
8
+ # Tools
9
+ .mypy_cache/
10
+ .pytest_cache/
11
+ .ruff_cache/
12
+ .tox/
13
+ .coverage
14
+ .coverage.*
15
+ coverage.xml
16
+ coverage/
17
+ htmlcov/
18
+ test-results*.xml
19
+
20
+ # Build output (PyInstaller, installer, documentation)
21
+ build/
22
+ dist/
23
+ trajectopy-docs/site/
24
+
25
+ # Output of tests and local evaluations
26
+ test/tmp/
27
+ tmp/
28
+ reports/
29
+ reportdata
30
+ analysis/
31
+ log.log
32
+ debug*.log
33
+
34
+ # Local files
35
+ scripts/
36
+ configfiles/
37
+ .mapbox_token
38
+
39
+ # Editors and assistants
40
+ .vscode/
41
+ .vs/
42
+ .claude/
43
+
44
+ # Operating system and file sync
45
+ .DS_Store
46
+ .sync-exclude.lst
47
+ *conflicted copy*
@@ -0,0 +1,215 @@
1
+ # Changelog
2
+
3
+ All notable changes to trajectopy from version 7 on are documented here. trajectopy follows
4
+ [semantic versioning](https://semver.org); see the
5
+ [API policy](https://gereon-t.github.io/trajectopy/api_policy/) for what is covered by it.
6
+
7
+ ## 7.0.0
8
+
9
+ Version 7 settles the public API, so that it can grow without breaking changes. It defines which names are
10
+ public, applies the same conventions to every function and removes deprecated and redundant names without a
11
+ transition period: code of version 6 that uses them fails with an error. Changed defaults, above all that
12
+ functions no longer modify their input, do not raise errors; they are listed under *Breaking changes*. The
13
+ table of removed names and the migration guide below list the replacements.
14
+
15
+ ### Highlights
16
+
17
+ - **Inputs are never modified by default.** Every function and method with an `inplace` argument returns a
18
+ new object unless `inplace=True` is passed. `inplace` is keyword-only.
19
+ - **One settings argument.** All processing functions with settings take a single `settings` argument: their
20
+ own settings type or the complete `ProcessingSettings` (`ate` takes only `ProcessingSettings`). The same settings object can be passed everywhere:
21
+ `tpy.ate(est, ref, settings)`, `tpy.align(est, ref, settings)`, `tpy.match_trajectories(est, ref, settings)`.
22
+ - **`ate_result.alignment`** holds the alignment that was applied before the deviations were computed.
23
+ - **Options accept strings**, e.g. `tpy.MatchingSettings(method="nearest_temporal")` or
24
+ `tpy.interpolate(trajectory, index, method="linear")`, also when assigned to a setting
25
+ (`settings.matching.method = "nearest_temporal"`). The lookup of these enumerations ignores the case.
26
+ - **`Trajectory`**
27
+ - accepts arrays in the constructor: `tpy.Trajectory(xyz, quat, timestamps, name="...")`;
28
+ - supports numpy-like indexing: `trajectory[10]` returns a `tpy.Pose`, `trajectory[10:20]`,
29
+ `trajectory[mask]` and `trajectory[[0, 5]]` return new trajectories;
30
+ - has a one-line `repr`, `equals(other, rtol=..., atol=...)` and `Trajectory.from_string`;
31
+ - writes all formats: `trajectory.to_file("out.tum")`.
32
+ - **Results** have one-line `repr`s and `describe()`: `ATEResult.describe()` returns the statistics as a
33
+ `pandas.Series`, `RPEResult.describe()` the drift statistics per pair distance as a `pandas.DataFrame`.
34
+ - **File I/O**: all reading and writing functions accept `pathlib.Path`. `trajectopy.io.read_trajectory`
35
+ and `write_trajectory` handle all formats (trajectopy, TUM, KITTI, EuRoC); `trajectopy.io` also exports
36
+ `TrajectoryFormat`, `detect_format`, `read_tum`, `read_kitti`, `read_euroc`, `list_topics` and `trajectories_from_rosbag`.
37
+ - **Public API**: the names exported by `trajectopy`, `trajectopy.io`, `trajectopy.visualization` and
38
+ `trajectopy.exceptions` form the public API, guarded by a test. New: `tpy.Pose`, `tpy.adopt_first_pose`,
39
+ `tpy.show_versions` and `trajectopy.exceptions.TrajectopyDeprecationWarning`. The types that results consist
40
+ of are public and documented, too: `tpy.AbsoluteTrajectoryDeviations` (`ATEResult.abs_dev`),
41
+ `tpy.RelativeTrajectoryDeviations` (`RPEResult.rpe_dev`), `tpy.ComponentCorrelation`
42
+ (`DeviationCorrelation.components`), `tpy.HelmertTransformation` and `tpy.Leverarm`
43
+ (`AlignmentParameters.helmert`, `.leverarm`) and `trajectopy.visualization.SpeedFit`.
44
+ - trajectopy attaches a `NullHandler` to its logger and leaves the logging configuration to applications.
45
+
46
+ ### New Features
47
+
48
+ Besides the API changes above, version 7 adds:
49
+
50
+ - **GUI**: an interactive alignment window (drag, point pairs, time synchronization, diagnosis of the alignment
51
+ parameters and least squares refinement), which replaces the manual alignment window; export of HTML reports
52
+ and summary tables; a faster file dialog on Windows; and a *System* entry in the *Theme* menu, which follows the
53
+ color scheme of the operating system. The chosen theme is kept for the next start.
54
+ - **Command line**: the commands `ate`, `rpe`, `evaluate`, `align`, `convert` and `info` evaluate, align and convert
55
+ trajectories without the GUI.
56
+ - **Evaluation**: percentiles (`pos_dev_percentile`), confidence intervals that account for correlated
57
+ deviations (`confidence_interval`), statistics per segment (`segment_statistics`), summary tables of several
58
+ results (`summary_table`, `format_table`) and self-contained HTML reports (`write_report`).
59
+ - **Plots**: `ate_boxplot_figure`.
60
+ - **File formats**: TUM, KITTI and EuRoC files are read (recognized automatically, with a log message) and
61
+ written; ROS2 bags are also read from single `.mcap` and `.db3` files, and besides `PoseStamped` and
62
+ `PointStamped`, poses with covariance, odometry, transforms, paths and GNSS fixes are read.
63
+ - **Alignment**: positions are weighted by their standard deviations (`Trajectory.position_std`, read from ROS
64
+ covariances and the `sx`, `sy`, `sz` columns of trajectopy files).
65
+
66
+ ### Breaking changes
67
+
68
+ Compared with version 6.2.1. A script compared the public API of both versions name by name and parameter by
69
+ parameter; every difference that can break existing code is listed here.
70
+
71
+ **Functions no longer modify their input by default**
72
+
73
+ - `inplace` is keyword-only everywhere and defaults to `False`, so that the input is left unchanged and the
74
+ result is returned. It defaulted to `True` for `Trajectory.crop`, `Trajectory.intersect`, `Trajectory.mask`,
75
+ `Trajectory.transform`, `Positions.to_epsg`, `Positions.to_local`, `align`, `apply_alignment`, `interpolate`,
76
+ `match_trajectories` and `sort_spatially`; it was positional for these and for `approximate` and
77
+ `Positions.mean`.
78
+
79
+ **One settings argument**
80
+
81
+ - `estimate_alignment`, `align`, `ate`, `rpe`, `match_trajectories`, `sort_spatially` and `approximate` take a
82
+ single `settings` argument instead of `alignment_settings`, `matching_settings`, `processing_settings`,
83
+ `sorting_settings` and `approximation_settings` (see the table below).
84
+
85
+ **Options are keyword-only**
86
+
87
+ Only the data (trajectories, results, figures, file names, indices) and the settings are positional arguments.
88
+ The following arguments must now be passed by keyword:
89
+
90
+ - Processing: `estimate_alignment(initial_parameters=)`, `ate(align=)`, `interpolate(method=, max_gap_size=)`,
91
+ `divide_into_laps(return_lap_indices=)`.
92
+ - `Trajectory(name=, path_lengths=, velocity_xyz=, sorting=)`, `Trajectory.crop(inverse=)`,
93
+ `Trajectory.intersect(max_gap_size=)`, `Trajectory.to_file(mode=)`, `Trajectory.to_kml(precision=, color=)`,
94
+ `Trajectory.to_dataframe(sort_by=)`.
95
+ - `Positions(local_transformer=, init_local_transformer=, epsg_local_cart=, epsg_local_geod=)`.
96
+ - Results: `ATEResult(name=)`, `RPEResult(name=)`, all fields of `AlignmentResult`, `ATEResult.to_file(mode=)`,
97
+ `RPEResult.to_file(mode=)`, `ATEResult.to_kml(field=, max_std=)`, `RPEResult.compute_metric(factor=)`,
98
+ `DeviationCorrelation.from_ate_result(max_lag=, window=)`.
99
+ - Parameters and settings: `Parameter(default=, enabled=, name=, unit=)`; `enabled_only` (and `lower_case`) of
100
+ `get_covariance_matrix`, `to_dict`, `to_string_list`, `to_name_list` and `AlignmentParameters.params_labels`;
101
+ `AlignmentEstimationSettings.from_components(similarity=, time_shift=, leverarm=, sensor_rotation=)` and
102
+ `AlignmentEstimationSettings.all(sensor_rotation=)`.
103
+ - `trajectopy.io`: `write_trajectory(mode=)`, `write_ate_result(mode=)`, `write_rpe_result(mode=)` and all
104
+ options of `write_kml` and `write_ate_kml` (`color`, `field`, `colormap`, `max_std`, `value_range`,
105
+ `color_classes`, `heights`, `height_offset`, `extrude`, `line_width`, `precision`).
106
+ - `trajectopy.visualization`: `Figure.export(variant=, width=)`, `Figure.create_widget(use_opengl=)`,
107
+ `PlotWindow(title=, export_format=, export_width=, use_opengl=, parent=)`, `export_figures(export_format=,
108
+ width=)`, `show(title=, block=, use_opengl=)`, `set_theme(dark=)`, `ate_speed_figure(speed_window=)`,
109
+ `parameter_matrix_figure(correlation=)`, `smoothed_speed(window=)`.
110
+
111
+ **Changed behavior**
112
+
113
+ - `ATEResult.to_file`, `RPEResult.to_file` and `AlignmentResult.to_file` (and `trajectopy.io.write_ate_result`,
114
+ `write_rpe_result` and `write_alignment_result`) overwrite existing files instead of appending to them; pass
115
+ `mode="a"` to append.
116
+ - `ate(..., align=False)` sets `ate_result.alignment` to None.
117
+ - `trajectopy.io.read_trajectory` and `Trajectory.from_file` recognize TUM, KITTI and EuRoC files; `write_trajectory`
118
+ and `Trajectory.to_file` choose the format from the file extension (`.tum`, `.kitti`) and write the trajectopy
119
+ format otherwise.
120
+ - Orientations are `scipy.spatial.transform.Rotation` objects: `trajectory.rotations`,
121
+ `ATEResult.abs_dev.rot_dev`, `AlignmentParameters.helmert.rotation_set` and
122
+ `SensorRotationParameters.rotation_set`. The `Rotations` class (a subclass of scipy's `Rotation`) and its
123
+ module `trajectopy.core.rotations` are gone. Compose rotations with `*` and `inv()` instead of `+` and `-`
124
+ (`a - b` is `a * b.inv()`), and use `magnitude()` instead of `rotangle`.
125
+ - `repr(trajectory)` is a one-line summary; `str(trajectory)` still prints the summary table.
126
+ - The alignment weights the positions by their standard deviations (`AlignmentStochastics.use_position_std`,
127
+ `True` by default). Alignments of trajectories with standard deviations (the `sx`, `sy`, `sz` columns of
128
+ trajectopy files or the covariances of ROS messages) therefore differ from version 6, which ignored them; set
129
+ `use_position_std=False` for the results of version 6.
130
+ - Trajectories read from files without a `#name` line are named after the file (e.g. `estimate` for
131
+ `estimate.traj`) instead of `Trajectory`; the names of results (`<trajectory> vs. <reference>`) change
132
+ accordingly.
133
+ - Invalid values in settings files (e.g. an unknown matching method) raise `TypeError` instead of
134
+ `ValueError`.
135
+ - Options are converted with `str()` to their value, e.g. `str(tpy.Sorting.TIME) == "time"`.
136
+ - File contents that do not match their header or format raise `TrajectopyIOError` and alignments that cannot be
137
+ estimated raise `AlignmentError` (both are also `ValueError`s, see *Fixes*).
138
+
139
+ **Removed names and modules**
140
+
141
+ - The names and arguments in the table *Removed and renamed names* below.
142
+ - The modules deprecated since version 5: `trajectopy.readers` (use `trajectopy.io`), `trajectopy.utils.common`
143
+ and `trajectopy.processing.lib.alignment.parameters` (use `trajectopy.AlignmentParameters`).
144
+ - The internal package `trajectopy.processing.lib` was renamed to `trajectopy.processing._lib` to mark it as
145
+ private.
146
+
147
+ ### Documentation
148
+
149
+ - The documentation is restructured: installation, a user guide with one page per topic (trajectories,
150
+ alignment, evaluation, visualization, Google Earth, file formats, settings, GUI, command line), an API
151
+ reference organized by the public namespaces, the API policy and the release notes.
152
+ - Every public function, class, method and property is documented with its arguments and return value. Every
153
+ public function and class (except the exceptions) has examples, which run as doctests; many link to related
154
+ functions (See Also).
155
+ - The examples of the user guide and the scripts in `example_scripts` are run by the tests.
156
+
157
+ ### Fixes
158
+
159
+ - `trajectopy.match_trajectories` failed with an import error if it was the first processing function used in
160
+ a session.
161
+ - `AlignmentParameters.to_file` (and `trajectopy.io.write_alignment_parameters`) wrote files that
162
+ `AlignmentParameters.from_file` could not read; the parameters are now written with their enabled flags and
163
+ 17 significant digits.
164
+ - An unknown `#time_format` in a file header raises a `TrajectopyIOError` that lists the valid formats instead
165
+ of a `KeyError`.
166
+ - `TrajectopyIOError` and `AlignmentError` are raised now: for files whose structure does not match their
167
+ header or format (e.g. a wrong number of columns) and for alignments that cannot be estimated (e.g. no poses
168
+ left after the preprocessing), where a plain `ValueError` was raised before. Both are also `ValueError`s, so
169
+ existing error handling keeps working.
170
+ - `Trajectory(..., sorting=)`, `Trajectory.set_sorting` and `ATEResult.set_sorting` accept the sorting as a
171
+ string (`"time"`, `"path_length"`, case-insensitive), like all other options; before, a string broke the
172
+ `repr` and the file export of the trajectory.
173
+ - `Positions.mean(inplace=True)` returns the modified object, like all other functions with `inplace`.
174
+ - `Trajectory(...)` copies the arrays and the `Positions` object it is created from; before, it reordered the
175
+ caller's positions in place when the timestamps were not in chronological order.
176
+ - The poses returned when iterating over a trajectory hold their velocity as a tuple, like those returned by
177
+ indexing; before, it was a NumPy array, so that comparing poses failed.
178
+ - Alignment result files keep whether the estimation converged (`#converged false`); before, every alignment
179
+ read from a file counted as converged.
180
+
181
+ ### Removed and renamed names
182
+
183
+ | Version 6 | Version 7 |
184
+ | --- | --- |
185
+ | `estimate_alignment(..., alignment_settings=, matching_settings=)`, same for `align` | `settings=` (`AlignmentSettings` or `ProcessingSettings`) |
186
+ | `ate(..., processing_settings=)`, `rpe(..., processing_settings=)` | `settings=` |
187
+ | `match_trajectories(..., matching_settings=)` | `settings=` |
188
+ | `sort_spatially(..., sorting_settings=)` | `settings=` |
189
+ | `approximate(..., approximation_settings=)` | `settings=` |
190
+ | `ate(..., return_alignment=True)` | `ate_result.alignment` |
191
+ | `Trajectory.from_file(text, io_stream=True)` | `Trajectory.from_string(text)` |
192
+ | `trajectopy.IOError`, `trajectopy.exceptions.IOError` | `trajectopy.TrajectopyIOError` |
193
+ | `trajectopy.ComparisonMethod` | none (an internal detail of the file I/O) |
194
+ | `trajectopy.io.HeaderData` | none (an internal detail of reading files) |
195
+ | `MatchingMethod.UNKNOWN` | none (it was never a matching method); settings files with `"method": "unknown"` can no longer be read |
196
+ | `trajectopy.Rotations` | `scipy.spatial.transform.Rotation` |
197
+
198
+ ### Migrating from version 6
199
+
200
+ ```python
201
+ # version 6
202
+ aligned = tpy.align(est, ref, alignment_settings=s.alignment, matching_settings=s.matching) # modified est
203
+ ate_result, alignment = tpy.ate(est, ref, processing_settings=s, return_alignment=True)
204
+ trajectory.crop(10, 20) # modified trajectory
205
+
206
+ # version 7
207
+ aligned = tpy.align(est, ref, s) # est is unchanged
208
+ ate_result = tpy.ate(est, ref, s)
209
+ alignment = ate_result.alignment
210
+ trajectory = trajectory.crop(10, 20) # or trajectory.crop(10, 20, inplace=True)
211
+ ```
212
+
213
+ Code that relied on functions modifying their input without using the return value has to use the return
214
+ value (or pass `inplace=True`). Removed arguments raise a `TypeError` and removed names an `AttributeError`
215
+ (an `ImportError` with `from ... import`).
@@ -1,16 +1,19 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: trajectopy
3
- Version: 6.2.0
3
+ Version: 7.0.0
4
4
  Summary: Trajectory Evaluation in Python
5
5
  Project-URL: Homepage, https://gereon-t.github.io/trajectopy/
6
6
  Project-URL: Documentation, https://gereon-t.github.io/trajectopy/
7
7
  Project-URL: Repository, https://github.com/gereon-t/trajectopy
8
8
  Project-URL: Bug Tracker, https://github.com/gereon-t/trajectopy/issues
9
+ Project-URL: Changelog, https://github.com/gereon-t/trajectopy/blob/main/CHANGELOG.md
9
10
  Author-email: Gereon Tombrink <tombrink@igg.uni-bonn.de>
10
11
  Maintainer-email: Gereon Tombrink <tombrink@igg.uni-bonn.de>
11
12
  License: GPLv3
12
13
  License-File: LICENSE
13
14
  Keywords: alignment,epsg,evaluation,leverarm,robotics,similarity,trajectory
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Classifier: Intended Audience :: Science/Research
14
17
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
15
18
  Classifier: Programming Language :: Python
16
19
  Classifier: Programming Language :: Python :: 3
@@ -18,14 +21,16 @@ Classifier: Programming Language :: Python :: 3.10
18
21
  Classifier: Programming Language :: Python :: 3.11
19
22
  Classifier: Programming Language :: Python :: 3.12
20
23
  Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
21
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
26
  Classifier: Topic :: Scientific/Engineering
27
+ Classifier: Typing :: Typed
23
28
  Requires-Python: >=3.10
24
29
  Requires-Dist: autograd>=1.8.0
25
30
  Requires-Dist: numpy>=2.0.2
26
31
  Requires-Dist: pandas>=2.2.3
27
32
  Requires-Dist: pyproj>=3.6.1
28
- Requires-Dist: rosbags>=0.9.23
33
+ Requires-Dist: rosbags>=0.11.0
29
34
  Requires-Dist: scipy>=1.13.1
30
35
  Provides-Extra: fast
31
36
  Requires-Dist: pyarrow>=25.0.1; extra == 'fast'
@@ -65,7 +70,7 @@ Description-Content-Type: text/markdown
65
70
 
66
71
  ## Installation
67
72
 
68
- **Windows app**: download `Trajectopy-<version>-setup.exe` from the [latest release](https://github.com/gereon-t/trajectopy/releases/latest) and run it. No Python installation or administrator rights are needed; `.traj` files can then be opened by double-click, and the app reports new versions (Help → Check for Updates).
73
+ **Apps**: the [latest release](https://github.com/gereon-t/trajectopy/releases/latest) provides an installer for Windows (`Trajectopy-<version>-setup.exe`), an app for macOS on Apple silicon (`.dmg`) and one for Linux (`.tar.gz`). They contain the GUI and need no Python installation; on Windows, `.traj` files and projects (`.tpy`) can then be opened by double-click. The apps report new versions (Help → Check for Updates).
69
74
 
70
75
  **Python package** (Python 3.10 or newer):
71
76
 
@@ -91,6 +96,14 @@ print(f"Position ATE: {ate_result.pos_ate:.3f} m")
91
96
 
92
97
  Or start the GUI with `trajectopy` (or from the Start menu), drop trajectory files onto it, right-click the ground truth → *Set as Reference*, then right-click another trajectory → *Compare with Reference*.
93
98
 
99
+ Or evaluate from the command line, without the GUI:
100
+
101
+ ```bash
102
+ trajectopy evaluate example_data/KITTI_ORB.traj example_data/KITTI_SPTAM.traj --ref example_data/KITTI_gt.traj --report report.html
103
+ ```
104
+
105
+ More examples are in [`example_scripts`](example_scripts) and in the [user guide](https://gereon-t.github.io/trajectopy/user_guide/).
106
+
94
107
  ## Documentation
95
108
 
96
109
  <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
@@ -99,8 +112,10 @@ Or start the GUI with `trajectopy` (or from the Start menu), drop trajectory fil
99
112
 
100
113
  - __Interactive GUI__: Load, plot, align and compare trajectories without writing code. Every action explains itself in the context menus, and trajectories can be aligned interactively if an automatic alignment is not possible.
101
114
  - __Alignment__: A spatio-temporal least squares alignment that can be tailored to the application: similarity transformation, leverarm and time shift, each of them optional.
102
- - __Comparison__: Absolute and relative trajectory error (__ATE and RPE__), computed with various pose-matching methods.
103
- - __Data Import/Export__: ASCII files with configurable columns, time formats and coordinate systems (any EPSG code), and ROS bags.
115
+ - __Comparison__: Absolute and relative trajectory error (__ATE and RPE__), computed with various pose-matching methods, with percentiles, confidence intervals that account for temporally correlated deviations, and statistics per segment of the trajectory.
116
+ - __Benchmarking__: Summary tables of several estimates (Markdown, CSV, LaTeX) and self-contained HTML reports with all statistics, figures and settings.
117
+ - __Command Line__: `trajectopy ate | rpe | evaluate | align | convert | info` for scripts, servers and CI pipelines.
118
+ - __Data Import/Export__: ASCII files with configurable columns, time formats and coordinate systems (any EPSG code), TUM, KITTI and EuRoC files (recognized automatically), and ROS1/ROS2 bags (poses, odometry, TF, paths, GNSS fixes; covariances weight the alignment).
104
119
  - __Fast, Interactive Visualization__: Powered by [pyqtgraph](https://www.pyqtgraph.org/), the same plots are available in the GUI and in Python scripts, stay fluid for large trajectories, and can be exported to PNG, JPG or SVG. Georeferenced trajectories and ATE results can be exported to Google Earth, colored by speed, height or deviations, on the terrain or at their own heights, with playback.
105
120
 
106
121
  ## Web Application (Docker)
@@ -1,84 +1,94 @@
1
- <div align="center">
2
- <h1>Trajectopy - Trajectory Evaluation in Python</h1>
3
- <a href="https://github.com/gereon-t/trajectopy/releases"><img src="https://img.shields.io/github/v/release/gereon-t/trajectopy?label=version" /></a>
4
- <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.10+-blue.svg" /></a>
5
- <a href="https://github.com/gereon-t/trajectopy/blob/main/LICENSE"><img src="https://img.shields.io/github/license/gereon-t/trajectopy" /></a>
6
- <a href="https://github.com/astral-sh/ruff"><img alt="Code style: ruff" src="https://img.shields.io/badge/code%20style-ruff-000000.svg"></a>
7
- <br />
8
- <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/Windows-0078D6?st&logo=windows&logoColor=white" /></a>
9
- <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black" /></a>
10
- <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/mac%20os-000000?&logo=apple&logoColor=white" /></a>
11
- <div>
12
- <img src=".images/uni_bonn.svg" height="50" />
13
- <img src=".images/igg.gif" height="50" />
14
- </div>
15
- <h4>Trajectopy is a Python package with an optional graphical user interface for empirical trajectory evaluation. </h4>
16
-
17
- <p align="center">
18
- <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/gui_ate.png" alt="Trajectopy GUI showing the ATE of a trajectory in the 3D preview">
19
- <br />
20
- <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/plot_ate.png" width="49%" alt="ATE plot over time">
21
- <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/plot_ate_map.png" width="49%" alt="ATE map plot">
22
- </p>
23
-
24
- </div>
25
-
26
- ## Installation
27
-
28
- **Windows app**: download `Trajectopy-<version>-setup.exe` from the [latest release](https://github.com/gereon-t/trajectopy/releases/latest) and run it. No Python installation or administrator rights are needed; `.traj` files can then be opened by double-click, and the app reports new versions (Help → Check for Updates).
29
-
30
- **Python package** (Python 3.10 or newer):
31
-
32
- | Command | Contents |
33
- | --- | --- |
34
- | `pip install "trajectopy[gui]"` | Python package and GUI (recommended) |
35
- | `pip install "trajectopy[plot]"` | Python package with plotting, without the GUI |
36
- | `pip install trajectopy` | Python package only |
37
-
38
- Loading large trajectory files (millions of poses) is several times faster with the `fast` extra, which can be combined with the others: `pip install "trajectopy[gui,fast]"`.
39
-
40
- ## Quick Start
41
-
42
- ```python
43
- import trajectopy as tpy
44
-
45
- reference = tpy.Trajectory.from_file("./example_data/KITTI_gt.traj")
46
- estimate = tpy.Trajectory.from_file("./example_data/KITTI_ORB.traj")
47
-
48
- ate_result = tpy.ate(trajectory=estimate, other=reference) # aligns the estimate first
49
- print(f"Position ATE: {ate_result.pos_ate:.3f} m")
50
- ```
51
-
52
- Or start the GUI with `trajectopy` (or from the Start menu), drop trajectory files onto it, right-click the ground truth → *Set as Reference*, then right-click another trajectory → *Compare with Reference*.
53
-
54
- ## Documentation
55
-
56
- <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
57
-
58
- ## Key Features
59
-
60
- - __Interactive GUI__: Load, plot, align and compare trajectories without writing code. Every action explains itself in the context menus, and trajectories can be aligned interactively if an automatic alignment is not possible.
61
- - __Alignment__: A spatio-temporal least squares alignment that can be tailored to the application: similarity transformation, leverarm and time shift, each of them optional.
62
- - __Comparison__: Absolute and relative trajectory error (__ATE and RPE__), computed with various pose-matching methods.
63
- - __Data Import/Export__: ASCII files with configurable columns, time formats and coordinate systems (any EPSG code), and ROS bags.
64
- - __Fast, Interactive Visualization__: Powered by [pyqtgraph](https://www.pyqtgraph.org/), the same plots are available in the GUI and in Python scripts, stay fluid for large trajectories, and can be exported to PNG, JPG or SVG. Georeferenced trajectories and ATE results can be exported to Google Earth, colored by speed, height or deviations, on the terrain or at their own heights, with playback.
65
-
66
- ## Web Application (Docker)
67
-
68
- A simple web application is available at [gereon-t/trajectopy-web](https://github.com/gereon-t/trajectopy-web) that allows you to use the core functionality of Trajectopy using Docker.
69
-
70
- ## Citation
71
-
72
- If you use this library for any academic work, please cite our original [paper](https://www.degruyter.com/document/doi/10.1515/jag-2024-0040/html).
73
-
74
- ```bibtex
75
- @article{Tombrink2024,
76
- url = {https://doi.org/10.1515/jag-2024-0040},
77
- title = {Spatio-temporal trajectory alignment for trajectory evaluation},
78
- author = {Gereon Tombrink and Ansgar Dreier and Lasse Klingbeil and Heiner Kuhlmann},
79
- journal = {Journal of Applied Geodesy},
80
- doi = {doi:10.1515/jag-2024-0040},
81
- year = {2024},
82
- codeurl = {https://github.com/gereon-t/trajectopy},
83
- }
84
- ```
1
+ <div align="center">
2
+ <h1>Trajectopy - Trajectory Evaluation in Python</h1>
3
+ <a href="https://github.com/gereon-t/trajectopy/releases"><img src="https://img.shields.io/github/v/release/gereon-t/trajectopy?label=version" /></a>
4
+ <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.10+-blue.svg" /></a>
5
+ <a href="https://github.com/gereon-t/trajectopy/blob/main/LICENSE"><img src="https://img.shields.io/github/license/gereon-t/trajectopy" /></a>
6
+ <a href="https://github.com/astral-sh/ruff"><img alt="Code style: ruff" src="https://img.shields.io/badge/code%20style-ruff-000000.svg"></a>
7
+ <br />
8
+ <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/Windows-0078D6?st&logo=windows&logoColor=white" /></a>
9
+ <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black" /></a>
10
+ <a href="https://github.com/gereon-t/trajectopy"><img src="https://img.shields.io/badge/mac%20os-000000?&logo=apple&logoColor=white" /></a>
11
+ <div>
12
+ <img src=".images/uni_bonn.svg" height="50" />
13
+ <img src=".images/igg.gif" height="50" />
14
+ </div>
15
+ <h4>Trajectopy is a Python package with an optional graphical user interface for empirical trajectory evaluation. </h4>
16
+
17
+ <p align="center">
18
+ <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/gui_ate.png" alt="Trajectopy GUI showing the ATE of a trajectory in the 3D preview">
19
+ <br />
20
+ <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/plot_ate.png" width="49%" alt="ATE plot over time">
21
+ <img style="border-radius: 10px;" src="https://raw.githubusercontent.com/gereon-t/trajectopy/main/.images/plot_ate_map.png" width="49%" alt="ATE map plot">
22
+ </p>
23
+
24
+ </div>
25
+
26
+ ## Installation
27
+
28
+ **Apps**: the [latest release](https://github.com/gereon-t/trajectopy/releases/latest) provides an installer for Windows (`Trajectopy-<version>-setup.exe`), an app for macOS on Apple silicon (`.dmg`) and one for Linux (`.tar.gz`). They contain the GUI and need no Python installation; on Windows, `.traj` files and projects (`.tpy`) can then be opened by double-click. The apps report new versions (Help → Check for Updates).
29
+
30
+ **Python package** (Python 3.10 or newer):
31
+
32
+ | Command | Contents |
33
+ | --- | --- |
34
+ | `pip install "trajectopy[gui]"` | Python package and GUI (recommended) |
35
+ | `pip install "trajectopy[plot]"` | Python package with plotting, without the GUI |
36
+ | `pip install trajectopy` | Python package only |
37
+
38
+ Loading large trajectory files (millions of poses) is several times faster with the `fast` extra, which can be combined with the others: `pip install "trajectopy[gui,fast]"`.
39
+
40
+ ## Quick Start
41
+
42
+ ```python
43
+ import trajectopy as tpy
44
+
45
+ reference = tpy.Trajectory.from_file("./example_data/KITTI_gt.traj")
46
+ estimate = tpy.Trajectory.from_file("./example_data/KITTI_ORB.traj")
47
+
48
+ ate_result = tpy.ate(trajectory=estimate, other=reference) # aligns the estimate first
49
+ print(f"Position ATE: {ate_result.pos_ate:.3f} m")
50
+ ```
51
+
52
+ Or start the GUI with `trajectopy` (or from the Start menu), drop trajectory files onto it, right-click the ground truth → *Set as Reference*, then right-click another trajectory → *Compare with Reference*.
53
+
54
+ Or evaluate from the command line, without the GUI:
55
+
56
+ ```bash
57
+ trajectopy evaluate example_data/KITTI_ORB.traj example_data/KITTI_SPTAM.traj --ref example_data/KITTI_gt.traj --report report.html
58
+ ```
59
+
60
+ More examples are in [`example_scripts`](example_scripts) and in the [user guide](https://gereon-t.github.io/trajectopy/user_guide/).
61
+
62
+ ## Documentation
63
+
64
+ <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
65
+
66
+ ## Key Features
67
+
68
+ - __Interactive GUI__: Load, plot, align and compare trajectories without writing code. Every action explains itself in the context menus, and trajectories can be aligned interactively if an automatic alignment is not possible.
69
+ - __Alignment__: A spatio-temporal least squares alignment that can be tailored to the application: similarity transformation, leverarm and time shift, each of them optional.
70
+ - __Comparison__: Absolute and relative trajectory error (__ATE and RPE__), computed with various pose-matching methods, with percentiles, confidence intervals that account for temporally correlated deviations, and statistics per segment of the trajectory.
71
+ - __Benchmarking__: Summary tables of several estimates (Markdown, CSV, LaTeX) and self-contained HTML reports with all statistics, figures and settings.
72
+ - __Command Line__: `trajectopy ate | rpe | evaluate | align | convert | info` for scripts, servers and CI pipelines.
73
+ - __Data Import/Export__: ASCII files with configurable columns, time formats and coordinate systems (any EPSG code), TUM, KITTI and EuRoC files (recognized automatically), and ROS1/ROS2 bags (poses, odometry, TF, paths, GNSS fixes; covariances weight the alignment).
74
+ - __Fast, Interactive Visualization__: Powered by [pyqtgraph](https://www.pyqtgraph.org/), the same plots are available in the GUI and in Python scripts, stay fluid for large trajectories, and can be exported to PNG, JPG or SVG. Georeferenced trajectories and ATE results can be exported to Google Earth, colored by speed, height or deviations, on the terrain or at their own heights, with playback.
75
+
76
+ ## Web Application (Docker)
77
+
78
+ A simple web application is available at [gereon-t/trajectopy-web](https://github.com/gereon-t/trajectopy-web) that allows you to use the core functionality of Trajectopy using Docker.
79
+
80
+ ## Citation
81
+
82
+ If you use this library for any academic work, please cite our original [paper](https://www.degruyter.com/document/doi/10.1515/jag-2024-0040/html).
83
+
84
+ ```bibtex
85
+ @article{Tombrink2024,
86
+ url = {https://doi.org/10.1515/jag-2024-0040},
87
+ title = {Spatio-temporal trajectory alignment for trajectory evaluation},
88
+ author = {Gereon Tombrink and Ansgar Dreier and Lasse Klingbeil and Heiner Kuhlmann},
89
+ journal = {Journal of Applied Geodesy},
90
+ doi = {doi:10.1515/jag-2024-0040},
91
+ year = {2024},
92
+ codeurl = {https://github.com/gereon-t/trajectopy},
93
+ }
94
+ ```