trajectopy 5.0.0__tar.gz → 5.0.2__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 (207) hide show
  1. {trajectopy-5.0.0 → trajectopy-5.0.2}/.github/workflows/ci.yml +47 -46
  2. trajectopy-5.0.2/.github/workflows/release.yml +61 -0
  3. {trajectopy-5.0.0 → trajectopy-5.0.2}/PKG-INFO +11 -1
  4. {trajectopy-5.0.0 → trajectopy-5.0.2}/README.md +83 -75
  5. trajectopy-5.0.2/installer/trajectopy.iss +77 -0
  6. {trajectopy-5.0.0 → trajectopy-5.0.2}/pyproject.toml +2 -0
  7. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_context_menus.py +122 -121
  8. trajectopy-5.0.2/test/test_fast_reading.py +148 -0
  9. trajectopy-5.0.2/test/test_gui_models.py +141 -0
  10. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_gui_smoke.py +116 -1
  11. trajectopy-5.0.2/test/test_update_check.py +100 -0
  12. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_visualization.py +30 -0
  13. trajectopy-5.0.2/trajectopy/__version__.py +1 -0
  14. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/cli/main.py +6 -0
  15. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/rotations.py +52 -2
  16. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/app.py +7 -3
  17. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/plot_manager.py +4 -5
  18. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/requests.py +7 -1
  19. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/ui_manager.py +48 -28
  20. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/result_model.py +4 -7
  21. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/table_model.py +39 -12
  22. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/trajectory_model.py +7 -12
  23. trajectopy-5.0.2/trajectopy/gui/update_check.py +114 -0
  24. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/utils.py +14 -24
  25. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/alignment_edit_window.py +2 -0
  26. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/dof_organizer.py +2 -0
  27. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/json_settings_view.py +10 -10
  28. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/main_window.py +154 -14
  29. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/manual_alignment_window.py +9 -4
  30. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/properties_panel.py +1 -1
  31. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/result_context_menu.py +2 -2
  32. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/result_selection_window.py +2 -0
  33. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/trajectory_context_menu.py +1 -1
  34. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/worker.py +5 -0
  35. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/ascii.py +76 -3
  36. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/header.py +67 -4
  37. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/trajectory_io.py +1 -1
  38. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/figure.py +3 -2
  39. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/plots.py +64 -5
  40. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/index.md +145 -130
  41. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy.spec +30 -5
  42. {trajectopy-5.0.0 → trajectopy-5.0.2}/uv.lock +127 -1
  43. trajectopy-5.0.0/trajectopy/__version__.py +0 -1
  44. {trajectopy-5.0.0 → trajectopy-5.0.2}/.gitattributes +0 -0
  45. {trajectopy-5.0.0 → trajectopy-5.0.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  46. {trajectopy-5.0.0 → trajectopy-5.0.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  47. {trajectopy-5.0.0 → trajectopy-5.0.2}/.gitignore +0 -0
  48. {trajectopy-5.0.0 → trajectopy-5.0.2}/.pre-commit-config.yaml +0 -0
  49. {trajectopy-5.0.0 → trajectopy-5.0.2}/.pylintrc +0 -0
  50. {trajectopy-5.0.0 → trajectopy-5.0.2}/CITATION.cff +0 -0
  51. {trajectopy-5.0.0 → trajectopy-5.0.2}/LICENSE +0 -0
  52. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_data/KITTI_ORB.traj +0 -0
  53. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_data/KITTI_SPTAM.traj +0 -0
  54. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_data/KITTI_gt.traj +0 -0
  55. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/align.py +0 -0
  56. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/alignment.py +0 -0
  57. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/ate.py +0 -0
  58. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/deviation_plots.py +0 -0
  59. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/rpe.py +0 -0
  60. {trajectopy-5.0.0 → trajectopy-5.0.2}/example_scripts/trajectory_plot.py +0 -0
  61. {trajectopy-5.0.0 → trajectopy-5.0.2}/requirements.txt +0 -0
  62. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/__init__.py +0 -0
  63. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/abs_dev.result +0 -0
  64. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/align_entry.result +0 -0
  65. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/generated_trajectory.traj +0 -0
  66. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/noisy_trajectory.traj +0 -0
  67. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/open_loop_trajectory.traj +0 -0
  68. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/rel_dev_meter.result +0 -0
  69. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/data/rel_dev_second.result +0 -0
  70. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_alignment.py +0 -0
  71. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_approximation.py +0 -0
  72. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_architecture.py +0 -0
  73. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_comparison.py +0 -0
  74. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_inplace_contract.py +0 -0
  75. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_io.py +0 -0
  76. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_kml.py +0 -0
  77. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_manual_alignment.py +0 -0
  78. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_matching.py +0 -0
  79. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_merging.py +0 -0
  80. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_pipeline.py +0 -0
  81. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_positions_rotations.py +0 -0
  82. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_processing_edge_cases.py +0 -0
  83. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_processing_errors.py +0 -0
  84. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_readers_edge_cases.py +0 -0
  85. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_readers_errors.py +0 -0
  86. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_regressions.py +0 -0
  87. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_settings.py +0 -0
  88. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_settings_edge_cases.py +0 -0
  89. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_settings_serialization.py +0 -0
  90. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_settings_validation.py +0 -0
  91. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_sorting.py +0 -0
  92. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_trajectory.py +0 -0
  93. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/test_trajectory_validation.py +0 -0
  94. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/testdata.py +0 -0
  95. {trajectopy-5.0.0 → trajectopy-5.0.2}/test/util.py +0 -0
  96. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/LICENSE +0 -0
  97. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/__init__.py +0 -0
  98. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/__main__.py +0 -0
  99. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/cli/__init__.py +0 -0
  100. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/__init__.py +0 -0
  101. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/parameters.py +0 -0
  102. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/positions.py +0 -0
  103. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/settings.py +0 -0
  104. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/core/trajectory.py +0 -0
  105. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/exceptions.py +0 -0
  106. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/__init__.py +0 -0
  107. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/__init__.py +0 -0
  108. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/file_manager.py +0 -0
  109. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/session_manager.py +0 -0
  110. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/managers/trajectory_manager.py +0 -0
  111. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/__init__.py +0 -0
  112. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/entries.py +0 -0
  113. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/property_model.py +0 -0
  114. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/models/selection.py +0 -0
  115. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/resources/full-icon-poppins.png +0 -0
  116. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/resources/icon-bg.ico +0 -0
  117. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/resources/icon-bg.png +0 -0
  118. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/resources/icon.png +0 -0
  119. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/themes.py +0 -0
  120. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/__init__.py +0 -0
  121. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/about_window.py +0 -0
  122. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/entry_table_view.py +0 -0
  123. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/kml_dialog.py +0 -0
  124. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/menu_helpers.py +0 -0
  125. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/playback_window.py +0 -0
  126. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/preview_plot.py +0 -0
  127. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/progress_window.py +0 -0
  128. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/result_table_view.py +0 -0
  129. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/timeline_widget.py +0 -0
  130. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/gui/views/trajectory_table_view.py +0 -0
  131. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/__init__.py +0 -0
  132. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/kml.py +0 -0
  133. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/results_io.py +0 -0
  134. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/rosbag.py +0 -0
  135. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/rosmsg.py +0 -0
  136. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/io/utils.py +0 -0
  137. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/__init__.py +0 -0
  138. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/alignment.py +0 -0
  139. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/approximation.py +0 -0
  140. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/evaluation.py +0 -0
  141. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/interpolation.py +0 -0
  142. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/__init__.py +0 -0
  143. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/__init__.py +0 -0
  144. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/data.py +0 -0
  145. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/direct.py +0 -0
  146. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/egrad_interface.py +0 -0
  147. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/equations.py +0 -0
  148. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/estimation.py +0 -0
  149. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/alignment/parameters.py +0 -0
  150. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/approximation/__init__.py +0 -0
  151. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/approximation/cubic_approximation.py +0 -0
  152. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/approximation/line_approximation.py +0 -0
  153. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/lib/approximation/voxelizer.py +0 -0
  154. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/matching.py +0 -0
  155. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/merging.py +0 -0
  156. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/processing/sorting.py +0 -0
  157. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/py.typed +0 -0
  158. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/readers/__init__.py +0 -0
  159. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/readers/ascii.py +0 -0
  160. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/readers/rosbag.py +0 -0
  161. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/readers/rosmsg.py +0 -0
  162. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/readers/utils.py +0 -0
  163. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/results/__init__.py +0 -0
  164. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/results/alignment_result.py +0 -0
  165. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/results/ate_result.py +0 -0
  166. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/results/rpe_result.py +0 -0
  167. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/__init__.py +0 -0
  168. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/colors.py +0 -0
  169. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/common.py +0 -0
  170. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/definitions.py +0 -0
  171. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/formatting.py +0 -0
  172. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/geometry.py +0 -0
  173. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/linalg.py +0 -0
  174. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/numeric.py +0 -0
  175. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/utils/resources.py +0 -0
  176. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/__init__.py +0 -0
  177. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/_svg_export.py +0 -0
  178. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/axes.py +0 -0
  179. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy/visualization/style.py +0 -0
  180. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/core/parameters.md +0 -0
  181. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/core/positions.md +0 -0
  182. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/core/rotations.md +0 -0
  183. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/core/settings.md +0 -0
  184. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/core/trajectory.md +0 -0
  185. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/index.md +0 -0
  186. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/io/kml.md +0 -0
  187. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/io/results_io.md +0 -0
  188. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/io/trajectory_io.md +0 -0
  189. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/alignment.md +0 -0
  190. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/approximation.md +0 -0
  191. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/evaluation.md +0 -0
  192. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/interpolation.md +0 -0
  193. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/matching.md +0 -0
  194. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/merging.md +0 -0
  195. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/processing/sorting.md +0 -0
  196. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/results/alignment_result.md +0 -0
  197. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/results/ate_result.md +0 -0
  198. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/results/rpe_result.md +0 -0
  199. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/visualization/display.md +0 -0
  200. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/api/visualization/figures.md +0 -0
  201. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/assets/icon.png +0 -0
  202. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/file_formats.md +0 -0
  203. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/javascripts/mathjax.js +0 -0
  204. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/settings.md +0 -0
  205. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/stylesheets/extra.css +0 -0
  206. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/docs/user_guide.md +0 -0
  207. {trajectopy-5.0.0 → trajectopy-5.0.2}/trajectopy-docs/mkdocs.yml +0 -0
@@ -1,46 +1,47 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches: [main]
6
- pull_request:
7
-
8
- jobs:
9
- lint:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v4
13
- - uses: astral-sh/setup-uv@v6
14
- - run: uv sync --group dev --extra gui # GUI packages provide the type information for trajectopy.gui
15
- - run: uv run ruff check trajectopy test example_scripts
16
- - run: uv run ruff format --check trajectopy test example_scripts
17
- - run: uv run mypy
18
-
19
- test:
20
- runs-on: ${{ matrix.os }}
21
- strategy:
22
- fail-fast: false
23
- matrix:
24
- os: [ubuntu-latest, windows-latest]
25
- python-version: ["3.10", "3.11", "3.12", "3.13"]
26
- env:
27
- # plots and the GUI are tested without a display
28
- QT_QPA_PLATFORM: offscreen
29
- steps:
30
- - uses: actions/checkout@v4
31
- - uses: astral-sh/setup-uv@v6
32
- with:
33
- python-version: ${{ matrix.python-version }}
34
- - if: runner.os == 'Linux'
35
- run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libfontconfig1 libdbus-1-3
36
- - run: uv sync --group dev --extra gui
37
- - run: uv run pytest -q --cov=trajectopy --cov-report=term
38
-
39
- core-only:
40
- # the package must work without the optional plotting/GUI dependencies
41
- runs-on: ubuntu-latest
42
- steps:
43
- - uses: actions/checkout@v4
44
- - uses: astral-sh/setup-uv@v6
45
- - run: uv sync --group dev
46
- - run: uv run pytest -q
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ lint:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: astral-sh/setup-uv@v6
14
+ - run: uv sync --group dev --extra gui # GUI packages provide the type information for trajectopy.gui
15
+ - run: uv run ruff check trajectopy test example_scripts
16
+ - run: uv run ruff format --check trajectopy test example_scripts
17
+ - run: uv run mypy
18
+
19
+ test:
20
+ runs-on: ${{ matrix.os }}
21
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ os: [ubuntu-latest, windows-latest]
25
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
26
+ env:
27
+ # plots and the GUI are tested without a display
28
+ QT_QPA_PLATFORM: offscreen
29
+ steps:
30
+ - uses: actions/checkout@v4
31
+ - uses: astral-sh/setup-uv@v6
32
+ with:
33
+ python-version: ${{ matrix.python-version }}
34
+ - if: runner.os == 'Linux'
35
+ run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 libxkbcommon0 libfontconfig1 libdbus-1-3
36
+ # with the optional pyarrow reader; the core-only job covers reading without it
37
+ - run: uv sync --group dev --extra gui --extra fast
38
+ - run: uv run pytest -q --cov=trajectopy --cov-report=term
39
+
40
+ core-only:
41
+ # the package must work without the optional plotting/GUI dependencies
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ - uses: astral-sh/setup-uv@v6
46
+ - run: uv sync --group dev
47
+ - run: uv run pytest -q
@@ -0,0 +1,61 @@
1
+ name: Release
2
+
3
+ # Pushing a version tag (e.g. v5.1.0, matching trajectopy/__version__.py) builds the Windows installer and
4
+ # attaches it to the GitHub release of that tag (created with generated notes if it does not exist yet).
5
+ # The update check of installed apps then finds the new version.
6
+ # Running the workflow manually only builds the installer and keeps it as a workflow artifact.
7
+
8
+ on:
9
+ push:
10
+ tags: ["v*"]
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ windows-installer:
18
+ runs-on: windows-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - uses: astral-sh/setup-uv@v6
22
+ with:
23
+ python-version: "3.13"
24
+ - run: uv sync --group dev --extra gui
25
+
26
+ - name: Read version
27
+ id: version
28
+ shell: bash
29
+ run: |
30
+ version=$(uv run python -c "from trajectopy.__version__ import __version__; print(__version__)")
31
+ echo "version=$version" >> "$GITHUB_OUTPUT"
32
+ if [[ "$GITHUB_REF_TYPE" == "tag" && "$GITHUB_REF_NAME" != "v$version" ]]; then
33
+ echo "::error::Tag $GITHUB_REF_NAME does not match the package version $version"
34
+ exit 1
35
+ fi
36
+
37
+ - name: Build the app
38
+ run: uv run pyinstaller --noconfirm trajectopy.spec
39
+
40
+ - name: Check that the app starts
41
+ run: dist\Trajectopy\Trajectopy.exe --version
42
+
43
+ - name: Build the installer
44
+ shell: pwsh
45
+ run: |
46
+ $iscc = "${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe"
47
+ if (-not (Test-Path $iscc)) { choco install innosetup --no-progress -y }
48
+ & $iscc "/DAppVersion=${{ steps.version.outputs.version }}" installer\trajectopy.iss
49
+ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
50
+
51
+ - uses: actions/upload-artifact@v4
52
+ with:
53
+ name: Trajectopy-${{ steps.version.outputs.version }}-setup
54
+ path: dist/Trajectopy-${{ steps.version.outputs.version }}-setup.exe
55
+
56
+ - name: Attach the installer to the release
57
+ if: github.ref_type == 'tag'
58
+ uses: softprops/action-gh-release@v2
59
+ with:
60
+ files: dist/Trajectopy-${{ steps.version.outputs.version }}-setup.exe
61
+ generate_release_notes: true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: trajectopy
3
- Version: 5.0.0
3
+ Version: 5.0.2
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/
@@ -27,6 +27,8 @@ Requires-Dist: pandas>=2.2.3
27
27
  Requires-Dist: pyproj>=3.6.1
28
28
  Requires-Dist: rosbags>=0.9.23
29
29
  Requires-Dist: scipy>=1.13.1
30
+ Provides-Extra: fast
31
+ Requires-Dist: pyarrow>=25.0.1; extra == 'fast'
30
32
  Provides-Extra: gui
31
33
  Requires-Dist: pyopengl>=3.1.7; extra == 'gui'
32
34
  Requires-Dist: pyqtgraph>=0.13.7; extra == 'gui'
@@ -60,6 +62,8 @@ Description-Content-Type: text/markdown
60
62
 
61
63
  ## Installation
62
64
 
65
+ 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).
66
+
63
67
  Full version (with GUI):
64
68
 
65
69
  ```bash
@@ -78,6 +82,12 @@ Python package only:
78
82
  pip install trajectopy
79
83
  ```
80
84
 
85
+ Loading large trajectory files (millions of poses) is several times faster with the `fast` extra, which can be combined with the others:
86
+
87
+ ```bash
88
+ pip install "trajectopy[gui,fast]"
89
+ ```
90
+
81
91
  ## Documentation
82
92
 
83
93
  <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
@@ -1,75 +1,83 @@
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/trajectopy_gif_low_quality.gif">
19
- </p>
20
-
21
- </div>
22
-
23
- ## Installation
24
-
25
- Full version (with GUI):
26
-
27
- ```bash
28
- pip install "trajectopy[gui]"
29
- ```
30
-
31
- Python package with plotting (no GUI):
32
-
33
- ```bash
34
- pip install "trajectopy[plot]"
35
- ```
36
-
37
- Python package only:
38
-
39
- ```bash
40
- pip install trajectopy
41
- ```
42
-
43
- ## Documentation
44
-
45
- <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
46
-
47
- ## Key Features
48
-
49
- Trajectopy offers a range of features, including:
50
-
51
- - __Interactive GUI__: A user-friendly interface that enables seamless interaction with your trajectory data, making it easy to visualize, align, and compare trajectories.
52
- - __Alignment__: An advanced trajectory alignment algorithm that can be tailored to the specific application and supports a similarity transformation, a leverarm and a time shift estimation.
53
- - __Comparison__: Absolute and relative trajectory comparison metrics (__ATE and RPE__) that can be computed using various pose-matching methods.
54
- - __Data Import/Export__: Support for importing and exporting data, ensuring compatibility with your existing workflows.
55
- - __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.
56
-
57
- ## Web Application (Docker)
58
-
59
- 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.
60
-
61
- ## Citation
62
-
63
- 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).
64
-
65
- ```bibtex
66
- @article{Tombrink2024,
67
- url = {https://doi.org/10.1515/jag-2024-0040},
68
- title = {Spatio-temporal trajectory alignment for trajectory evaluation},
69
- author = {Gereon Tombrink and Ansgar Dreier and Lasse Klingbeil and Heiner Kuhlmann},
70
- journal = {Journal of Applied Geodesy},
71
- doi = {doi:10.1515/jag-2024-0040},
72
- year = {2024},
73
- codeurl = {https://github.com/gereon-t/trajectopy},
74
- }
75
- ```
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/trajectopy_gif_low_quality.gif">
19
+ </p>
20
+
21
+ </div>
22
+
23
+ ## Installation
24
+
25
+ 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).
26
+
27
+ Full version (with GUI):
28
+
29
+ ```bash
30
+ pip install "trajectopy[gui]"
31
+ ```
32
+
33
+ Python package with plotting (no GUI):
34
+
35
+ ```bash
36
+ pip install "trajectopy[plot]"
37
+ ```
38
+
39
+ Python package only:
40
+
41
+ ```bash
42
+ pip install trajectopy
43
+ ```
44
+
45
+ Loading large trajectory files (millions of poses) is several times faster with the `fast` extra, which can be combined with the others:
46
+
47
+ ```bash
48
+ pip install "trajectopy[gui,fast]"
49
+ ```
50
+
51
+ ## Documentation
52
+
53
+ <a href="https://gereon-t.github.io/trajectopy/" target="_blank">https://gereon-t.github.io/trajectopy/</a>
54
+
55
+ ## Key Features
56
+
57
+ Trajectopy offers a range of features, including:
58
+
59
+ - __Interactive GUI__: A user-friendly interface that enables seamless interaction with your trajectory data, making it easy to visualize, align, and compare trajectories.
60
+ - __Alignment__: An advanced trajectory alignment algorithm that can be tailored to the specific application and supports a similarity transformation, a leverarm and a time shift estimation.
61
+ - __Comparison__: Absolute and relative trajectory comparison metrics (__ATE and RPE__) that can be computed using various pose-matching methods.
62
+ - __Data Import/Export__: Support for importing and exporting data, ensuring compatibility with your existing workflows.
63
+ - __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.
64
+
65
+ ## Web Application (Docker)
66
+
67
+ 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.
68
+
69
+ ## Citation
70
+
71
+ 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).
72
+
73
+ ```bibtex
74
+ @article{Tombrink2024,
75
+ url = {https://doi.org/10.1515/jag-2024-0040},
76
+ title = {Spatio-temporal trajectory alignment for trajectory evaluation},
77
+ author = {Gereon Tombrink and Ansgar Dreier and Lasse Klingbeil and Heiner Kuhlmann},
78
+ journal = {Journal of Applied Geodesy},
79
+ doi = {doi:10.1515/jag-2024-0040},
80
+ year = {2024},
81
+ codeurl = {https://github.com/gereon-t/trajectopy},
82
+ }
83
+ ```
@@ -0,0 +1,77 @@
1
+ ; Windows installer for Trajectopy (Inno Setup 6, https://jrsoftware.org/isinfo.php).
2
+ ;
3
+ ; Packages the one-folder PyInstaller build. Build it first, then compile this script:
4
+ ; uv run pyinstaller --noconfirm trajectopy.spec
5
+ ; iscc /DAppVersion=5.0.1 installer\trajectopy.iss
6
+ ; The installer is written to dist\Trajectopy-<version>-setup.exe.
7
+ ;
8
+ ; It installs for the current user without administrator rights (or for all users, if chosen in the
9
+ ; dialog), adds a Start menu entry and, optionally, a desktop icon and the .traj file association.
10
+ ; Installing a newer version over an existing one updates it in place.
11
+
12
+ #define AppName "Trajectopy"
13
+ #define AppExe "Trajectopy.exe"
14
+ #ifndef AppVersion
15
+ #define AppVersion "0.0.0"
16
+ #endif
17
+
18
+ [Setup]
19
+ ; never change the AppId: Windows identifies the installed application (and its updates) by it
20
+ AppId={{D3DF14CF-47F5-45DB-9C26-6F16E0A3170D}
21
+ AppName={#AppName}
22
+ AppVersion={#AppVersion}
23
+ AppVerName={#AppName} {#AppVersion}
24
+ AppPublisher=Gereon Tombrink
25
+ AppPublisherURL=https://github.com/gereon-t/trajectopy
26
+ AppSupportURL=https://github.com/gereon-t/trajectopy/issues
27
+ AppUpdatesURL=https://github.com/gereon-t/trajectopy/releases
28
+ DefaultDirName={autopf}\{#AppName}
29
+ DefaultGroupName={#AppName}
30
+ DisableProgramGroupPage=yes
31
+ PrivilegesRequired=lowest
32
+ PrivilegesRequiredOverridesAllowed=dialog
33
+ ArchitecturesAllowed=x64compatible
34
+ ArchitecturesInstallIn64BitMode=x64compatible
35
+ OutputDir=..\dist
36
+ OutputBaseFilename={#AppName}-{#AppVersion}-setup
37
+ SetupIconFile=..\trajectopy\gui\resources\icon-bg.ico
38
+ UninstallDisplayIcon={app}\{#AppExe}
39
+ UninstallDisplayName={#AppName}
40
+ LicenseFile=..\LICENSE
41
+ Compression=lzma2
42
+ SolidCompression=yes
43
+ WizardStyle=modern
44
+ ChangesAssociations=yes
45
+ ; close a running Trajectopy before updating it
46
+ CloseApplications=yes
47
+
48
+ [Languages]
49
+ Name: "english"; MessagesFile: "compiler:Default.isl"
50
+
51
+ [Tasks]
52
+ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
53
+ Name: "associate"; Description: "Open .traj files with {#AppName}"; GroupDescription: "File associations:"
54
+
55
+ [InstallDelete]
56
+ ; an update replaces the bundled libraries completely, so that no files of the previous version remain
57
+ Type: filesandordirs; Name: "{app}\_internal"
58
+
59
+ [Files]
60
+ Source: "..\dist\Trajectopy\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
61
+
62
+ [Icons]
63
+ Name: "{autoprograms}\{#AppName}"; Filename: "{app}\{#AppExe}"
64
+ Name: "{autodesktop}\{#AppName}"; Filename: "{app}\{#AppExe}"; Tasks: desktopicon
65
+
66
+ [Registry]
67
+ ; .traj files: Trajectopy is the default program unless the user chose another one, and is always listed
68
+ ; under "Open with". HKA is HKCU for a per-user and HKLM for an all-users installation.
69
+ Root: HKA; Subkey: "Software\Classes\.traj"; ValueType: string; ValueName: ""; ValueData: "Trajectopy.traj"; Flags: uninsdeletevalue; Tasks: associate
70
+ Root: HKA; Subkey: "Software\Classes\.traj\OpenWithProgids"; ValueType: string; ValueName: "Trajectopy.traj"; ValueData: ""; Flags: uninsdeletevalue; Tasks: associate
71
+ Root: HKA; Subkey: "Software\Classes\Trajectopy.traj"; ValueType: string; ValueName: ""; ValueData: "Trajectory File"; Flags: uninsdeletekey; Tasks: associate
72
+ Root: HKA; Subkey: "Software\Classes\Trajectopy.traj\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: """{app}\{#AppExe}"",0"; Tasks: associate
73
+ Root: HKA; Subkey: "Software\Classes\Trajectopy.traj\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#AppExe}"" ""%1"""; Tasks: associate
74
+ Root: HKA; Subkey: "Software\Classes\Applications\{#AppExe}\SupportedTypes"; ValueType: string; ValueName: ".traj"; ValueData: ""; Flags: uninsdeletekey; Tasks: associate
75
+
76
+ [Run]
77
+ Filename: "{app}\{#AppExe}"; Description: "{cm:LaunchProgram,{#AppName}}"; Flags: nowait postinstall skipifsilent
@@ -60,6 +60,8 @@ dependencies = [
60
60
  plot = ["PySide6-Essentials>=6.8", "pyqtgraph>=0.13.7"]
61
61
  # The GUI additionally renders the 3D playback with OpenGL.
62
62
  gui = ["trajectopy[plot]", "PyOpenGL>=3.1.7"]
63
+ # Several times faster reading of large trajectory files (multithreaded CSV parser).
64
+ fast = ["pyarrow>=25.0.1"]
63
65
 
64
66
  [project.urls]
65
67
  Homepage = "https://gereon-t.github.io/trajectopy/"