ccsds-ndm-py 0.0.3__tar.gz → 0.0.5__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 (104) hide show
  1. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/PKG-INFO +1 -1
  2. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/Cargo.lock +8 -8
  3. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/Cargo.toml +1 -1
  4. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/binding_mappings.py +15 -1
  5. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/ccsds_ndm/__init__.pyi +808 -210
  6. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/acm.rs +152 -19
  7. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/aem.rs +422 -115
  8. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/apm.rs +166 -56
  9. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/attitude.rs +263 -82
  10. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/cdm.rs +1056 -482
  11. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/common.rs +431 -76
  12. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/errors.rs +52 -9
  13. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/lib.rs +12 -8
  14. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/ndm.rs +70 -12
  15. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/ocm.rs +71 -10
  16. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/oem.rs +909 -297
  17. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/omm.rs +149 -12
  18. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/opm.rs +111 -14
  19. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/rdm.rs +86 -19
  20. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/tdm.rs +98 -32
  21. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_aem.py +8 -2
  22. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_cdm.py +1 -1
  23. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_ndm.py +1 -1
  24. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_oem.py +29 -0
  25. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_omm.py +70 -0
  26. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/Cargo.toml +1 -1
  27. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/benches/kvn_benches.rs +4 -2
  28. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/benches/xml_benches.rs +4 -2
  29. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/common.rs +412 -79
  30. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/acm.rs +23 -11
  31. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/aem.rs +28 -13
  32. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/apm.rs +27 -13
  33. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/oem.rs +5 -4
  34. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/opm.rs +13 -6
  35. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/parser.rs +8 -8
  36. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/lib.rs +1 -0
  37. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/acm.rs +386 -80
  38. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/aem.rs +120 -36
  39. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/apm.rs +61 -30
  40. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/cdm.rs +310 -110
  41. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/ndm.rs +5 -1
  42. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/ocm.rs +1082 -214
  43. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/oem.rs +66 -82
  44. ccsds_ndm_py-0.0.5/ccsds-ndm/src/messages/omm/tle.rs +1256 -0
  45. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/omm.rs +292 -33
  46. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/opm.rs +31 -12
  47. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/rdm.rs +227 -140
  48. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/tdm.rs +395 -94
  49. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/traits.rs +20 -0
  50. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/types.rs +909 -67
  51. ccsds_ndm_py-0.0.5/ccsds-ndm/src/utils.rs +273 -0
  52. ccsds_ndm_py-0.0.5/ccsds-ndm/src/validation.rs +94 -0
  53. ccsds_ndm_py-0.0.5/ccsds-ndm/src/versioning.rs +121 -0
  54. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/auto_detection.rs +3 -3
  55. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/case_matrix.rs +6 -6
  56. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/combined_ndm.rs +4 -4
  57. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/integration_lib.rs +2 -2
  58. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/integration_parsing.rs +6 -6
  59. ccsds_ndm_py-0.0.5/ccsds-ndm/tests/verify_cdm_optional.rs +191 -0
  60. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds_ndm/__init__.pyi +808 -210
  61. ccsds_ndm_py-0.0.3/ccsds-ndm/src/utils.rs +0 -171
  62. ccsds_ndm_py-0.0.3/ccsds-ndm/src/validation.rs +0 -256
  63. ccsds_ndm_py-0.0.3/ccsds-ndm/validation_policy.json +0 -22
  64. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/README.md +0 -0
  65. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/.pre-commit-config.yaml +0 -0
  66. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/README.md +0 -0
  67. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/audit_bindings.py +0 -0
  68. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/ccsds_ndm/__init__.py +0 -0
  69. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/check_xml.py +0 -0
  70. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/src/types.rs +0 -0
  71. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/stubs.py +0 -0
  72. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/sync_docstrings.py +0 -0
  73. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_acm.py +0 -0
  74. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_apm.py +0 -0
  75. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_attitude_common.py +0 -0
  76. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_cdm.xml +0 -0
  77. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_ocm.py +0 -0
  78. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_opm.py +0 -0
  79. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_rdm.py +0 -0
  80. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_tdm.py +0 -0
  81. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/bindings/python/tests/test_user_defined.py +0 -0
  82. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/.pre-commit-config.yaml +0 -0
  83. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/README.md +0 -0
  84. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/examples/builder_demo.rs +0 -0
  85. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/examples/convert_format.rs +0 -0
  86. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/examples/simple_parse.rs +0 -0
  87. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/detect.rs +0 -0
  88. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/error.rs +0 -0
  89. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/cdm.rs +0 -0
  90. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/mod.rs +0 -0
  91. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/ocm.rs +0 -0
  92. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/omm.rs +0 -0
  93. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/rdm.rs +0 -0
  94. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/ser.rs +0 -0
  95. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/kvn/tdm.rs +0 -0
  96. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/messages/mod.rs +0 -0
  97. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/src/xml.rs +0 -0
  98. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/case_matrix.json +0 -0
  99. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/common/mod.rs +0 -0
  100. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/error_reporting.rs +0 -0
  101. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/repro_kvn_empty.rs +0 -0
  102. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds-ndm/tests/xml_wrappers.rs +0 -0
  103. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/ccsds_ndm/__init__.py +0 -0
  104. {ccsds_ndm_py-0.0.3 → ccsds_ndm_py-0.0.5}/pyproject.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccsds-ndm-py
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Science/Research
6
6
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -35,7 +35,7 @@ dependencies = [
35
35
 
36
36
  [[package]]
37
37
  name = "ccsds-ndm"
38
- version = "0.0.3"
38
+ version = "0.0.5"
39
39
  dependencies = [
40
40
  "bon",
41
41
  "fast-float",
@@ -49,7 +49,7 @@ dependencies = [
49
49
 
50
50
  [[package]]
51
51
  name = "ccsds-ndm-py"
52
- version = "0.0.3"
52
+ version = "0.0.5"
53
53
  dependencies = [
54
54
  "ccsds-ndm",
55
55
  "numpy",
@@ -220,15 +220,15 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
220
220
 
221
221
  [[package]]
222
222
  name = "portable-atomic"
223
- version = "1.13.0"
223
+ version = "1.13.1"
224
224
  source = "registry+https://github.com/rust-lang/crates.io-index"
225
- checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"
225
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
226
226
 
227
227
  [[package]]
228
228
  name = "portable-atomic-util"
229
- version = "0.2.4"
229
+ version = "0.2.5"
230
230
  source = "registry+https://github.com/rust-lang/crates.io-index"
231
- checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
231
+ checksum = "7a9db96d7fa8782dd8c15ce32ffe8680bbd1e978a43bf51a34d39483540495f5"
232
232
  dependencies = [
233
233
  "portable-atomic",
234
234
  ]
@@ -459,6 +459,6 @@ dependencies = [
459
459
 
460
460
  [[package]]
461
461
  name = "zmij"
462
- version = "1.0.18"
462
+ version = "1.0.19"
463
463
  source = "registry+https://github.com/rust-lang/crates.io-index"
464
- checksum = "1966f8ac2c1f76987d69a74d0e0f929241c10e78136434e3be70ff7f58f64214"
464
+ checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445"
@@ -4,7 +4,7 @@
4
4
 
5
5
  [package]
6
6
  name = "ccsds-ndm-py"
7
- version = "0.0.3"
7
+ version = "0.0.5"
8
8
  authors = ["Jochim Maene <jochim.maene+github@gmail.com>"]
9
9
  edition = "2021"
10
10
  description = "Python bindings for ccsds-ndm"
@@ -95,7 +95,10 @@ PYTHON_ONLY_FIELDS: dict[str, list[str]] = {
95
95
  # OEM NumPy accessors
96
96
  "OemData": [
97
97
  "state_vector_numpy",
98
+ "state_vector_epochs",
98
99
  "covariance_matrix_numpy",
100
+ "covariance_matrix_epochs",
101
+ "from_numpy",
99
102
  ],
100
103
  # OCM NumPy accessors
101
104
  "OcmTrajectoryStateHistory": [
@@ -107,9 +110,21 @@ PYTHON_ONLY_FIELDS: dict[str, list[str]] = {
107
110
  # CDM NumPy accessors
108
111
  "CdmCovarianceMatrix": [
109
112
  "to_numpy",
113
+ "from_numpy",
114
+ ],
115
+ "CdmStateVector": [
116
+ "from_numpy",
117
+ ],
118
+ "CdmData": [
119
+ "state_vector_numpy",
120
+ "covariance_matrix_numpy",
121
+ "from_numpy",
110
122
  ],
111
123
  "AemData": [
112
124
  "attitude_states",
125
+ "attitude_states_numpy",
126
+ "attitude_states_epochs",
127
+ "from_numpy",
113
128
  ],
114
129
  # Add other NumPy accessors as needed
115
130
  }
@@ -157,7 +172,6 @@ RUST_SKIP_FIELDS: dict[str, list[str]] = {
157
172
  "AcmMetadata": ["*"],
158
173
  "AcmPhysicalDescription": ["*"],
159
174
  "AcmSegment": ["*"],
160
- "OdmHeader": ["*"],
161
175
  "QuaternionState": ["quaternion_dot"],
162
176
  }
163
177