scikit-diveMove 0.3.3__tar.gz → 0.4.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 (54) hide show
  1. {scikit-diveMove-0.3.3/scikit_diveMove.egg-info → scikit_divemove-0.4.0}/PKG-INFO +6 -6
  2. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/pyproject.toml +5 -5
  3. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0/scikit_diveMove.egg-info}/PKG-INFO +6 -6
  4. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/scikit_diveMove.egg-info/requires.txt +4 -4
  5. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/__init__.py +1 -1
  6. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/calibspeed.py +1 -1
  7. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/imu.py +1 -1
  8. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/LICENSE +0 -0
  9. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/MANIFEST.in +0 -0
  10. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/README.rst +0 -0
  11. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/scikit_diveMove.egg-info/SOURCES.txt +0 -0
  12. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/scikit_diveMove.egg-info/dependency_links.txt +0 -0
  13. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/scikit_diveMove.egg-info/top_level.txt +0 -0
  14. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/setup.cfg +0 -0
  15. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/__main__.py +0 -0
  16. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/bouts/__init__.py +0 -0
  17. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/bouts/bouts.py +0 -0
  18. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/bouts/boutsmle.py +0 -0
  19. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/bouts/boutsnls.py +0 -0
  20. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/calibconfig.py +0 -0
  21. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/config_examples/ag_mk7_2002_022_config.json +0 -0
  22. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/core.py +0 -0
  23. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/helpers.py +0 -0
  24. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/__init__.py +0 -0
  25. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/allan.py +0 -0
  26. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/ellipsoid.py +0 -0
  27. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/imu2body.py +0 -0
  28. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/imucalibrate.py +0 -0
  29. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/imutools/vector.py +0 -0
  30. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/metadata.py +0 -0
  31. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/plotting.py +0 -0
  32. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tdr.py +0 -0
  33. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tdrphases.py +0 -0
  34. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tdrsource.py +0 -0
  35. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/__init__.py +0 -0
  36. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/ag_mk7_2002_022.nc +0 -0
  37. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/cats_temperature_calib.nc +0 -0
  38. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/gertrude/gert_imu_frame.nc +0 -0
  39. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/gertrude/gert_long_srfc.csv +0 -0
  40. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/gertrude/magnt_accel_calib.nc +0 -0
  41. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/data/samsung_galaxy_s5.nc +0 -0
  42. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/get_sample_data.py +0 -0
  43. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_BoutsMLE.py +0 -0
  44. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_BoutsNLS.py +0 -0
  45. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_TDR.py +0 -0
  46. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_TDRPhases.py +0 -0
  47. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_TDRSource.py +0 -0
  48. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_ZOC.py +0 -0
  49. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_calibrate.py +0 -0
  50. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_imu2body.py +0 -0
  51. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_imu_utils.py +0 -0
  52. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_imucalibrate.py +0 -0
  53. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/tests/test_vector.py +0 -0
  54. {scikit-diveMove-0.3.3 → scikit_divemove-0.4.0}/skdiveMove/zoc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scikit-diveMove
3
- Version: 0.3.3
3
+ Version: 0.4.0
4
4
  Summary: Python interface to R package diveMove
5
5
  Author-email: Sebastian Luque <spluque@gmail.com>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -673,7 +673,7 @@ Classifier: Intended Audience :: Developers
673
673
  Classifier: Intended Audience :: Science/Research
674
674
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
675
675
  Classifier: Topic :: Scientific/Engineering
676
- Requires-Python: >=3.9
676
+ Requires-Python: >=3.10
677
677
  Description-Content-Type: text/x-rst
678
678
  License-File: LICENSE
679
679
  Requires-Dist: ahrs
@@ -682,13 +682,13 @@ Requires-Dist: bottleneck
682
682
  Requires-Dist: docutils>=0.3
683
683
  Requires-Dist: matplotlib>=3.0
684
684
  Requires-Dist: netcdf4>=1.5
685
- Requires-Dist: numpy>=1.18
686
- Requires-Dist: pandas>=1.0
685
+ Requires-Dist: numpy>=2.0
686
+ Requires-Dist: pandas>=2.0
687
687
  Requires-Dist: rpy2>=3.5
688
688
  Requires-Dist: scikit-learn>=0.20.0
689
- Requires-Dist: scipy>=1.5
689
+ Requires-Dist: scipy>=1.14
690
690
  Requires-Dist: statsmodels>=0.11
691
- Requires-Dist: xarray>=0.16
691
+ Requires-Dist: xarray>=2024
692
692
  Provides-Extra: dev
693
693
  Requires-Dist: ipykernel>=6.20; extra == "dev"
694
694
  Requires-Dist: jupyter-sphinx; extra == "dev"
@@ -9,20 +9,20 @@ description = "Python interface to R package diveMove"
9
9
  readme = "README.rst"
10
10
  license = {file = "LICENSE"}
11
11
  authors = [{name = "Sebastian Luque", email = "spluque@gmail.com"}]
12
- requires-python = ">=3.9"
12
+ requires-python = ">=3.10"
13
13
  dependencies = ["ahrs",
14
14
  "allantools",
15
15
  "bottleneck",
16
16
  "docutils>=0.3",
17
17
  "matplotlib>=3.0",
18
18
  "netcdf4>=1.5",
19
- "numpy>=1.18",
20
- "pandas>=1.0",
19
+ "numpy>=2.0",
20
+ "pandas>=2.0",
21
21
  "rpy2>=3.5",
22
22
  "scikit-learn>=0.20.0",
23
- "scipy>=1.5",
23
+ "scipy>=1.14",
24
24
  "statsmodels>=0.11",
25
- "xarray>=0.16"]
25
+ "xarray>=2024"]
26
26
  classifiers = [
27
27
  "Development Status :: 4 - Beta",
28
28
  "Programming Language :: Python :: 3",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scikit-diveMove
3
- Version: 0.3.3
3
+ Version: 0.4.0
4
4
  Summary: Python interface to R package diveMove
5
5
  Author-email: Sebastian Luque <spluque@gmail.com>
6
6
  License: GNU AFFERO GENERAL PUBLIC LICENSE
@@ -673,7 +673,7 @@ Classifier: Intended Audience :: Developers
673
673
  Classifier: Intended Audience :: Science/Research
674
674
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
675
675
  Classifier: Topic :: Scientific/Engineering
676
- Requires-Python: >=3.9
676
+ Requires-Python: >=3.10
677
677
  Description-Content-Type: text/x-rst
678
678
  License-File: LICENSE
679
679
  Requires-Dist: ahrs
@@ -682,13 +682,13 @@ Requires-Dist: bottleneck
682
682
  Requires-Dist: docutils>=0.3
683
683
  Requires-Dist: matplotlib>=3.0
684
684
  Requires-Dist: netcdf4>=1.5
685
- Requires-Dist: numpy>=1.18
686
- Requires-Dist: pandas>=1.0
685
+ Requires-Dist: numpy>=2.0
686
+ Requires-Dist: pandas>=2.0
687
687
  Requires-Dist: rpy2>=3.5
688
688
  Requires-Dist: scikit-learn>=0.20.0
689
- Requires-Dist: scipy>=1.5
689
+ Requires-Dist: scipy>=1.14
690
690
  Requires-Dist: statsmodels>=0.11
691
- Requires-Dist: xarray>=0.16
691
+ Requires-Dist: xarray>=2024
692
692
  Provides-Extra: dev
693
693
  Requires-Dist: ipykernel>=6.20; extra == "dev"
694
694
  Requires-Dist: jupyter-sphinx; extra == "dev"
@@ -4,13 +4,13 @@ bottleneck
4
4
  docutils>=0.3
5
5
  matplotlib>=3.0
6
6
  netcdf4>=1.5
7
- numpy>=1.18
8
- pandas>=1.0
7
+ numpy>=2.0
8
+ pandas>=2.0
9
9
  rpy2>=3.5
10
10
  scikit-learn>=0.20.0
11
- scipy>=1.5
11
+ scipy>=1.14
12
12
  statsmodels>=0.11
13
- xarray>=0.16
13
+ xarray>=2024
14
14
 
15
15
  [dev]
16
16
  ipykernel>=6.20
@@ -88,5 +88,5 @@ from skdiveMove.calibconfig import dump_config_template
88
88
 
89
89
  __author__ = "Sebastian Luque <spluque@gmail.com>"
90
90
  __license__ = "AGPLv3"
91
- __version__ = "0.3.3"
91
+ __version__ = "0.4.0"
92
92
  __all__ = ["TDR", "calibrate", "dump_config_template"]
@@ -94,7 +94,7 @@ def calibrate_speed(x, tau, contour_level, z=0, bad=[0, 0],
94
94
  ax.clabel(cntr, fmt="%1.2f")
95
95
  # Plot the binned data, adding some noise for clarity
96
96
  xjit_binned = np.random.normal(binned[:, 0],
97
- xnpy[:, 0].ptp() / (2 * n_eval))
97
+ np.ptp(xnpy[:, 0]) / (2 * n_eval))
98
98
  ax.scatter(xjit_binned, binned[:, 1], s=6, alpha=0.3)
99
99
  # Plot line
100
100
  xnew = np.linspace(mins[0], maxs[0])
@@ -203,7 +203,7 @@ class IMUBase:
203
203
 
204
204
  """
205
205
  sensor_obj = getattr(self, sensor)
206
- sampling_rate = sensor_obj.attrs["sampling_rate"]
206
+ sampling_rate = float(sensor_obj.attrs["sampling_rate"])
207
207
  sensor_std = preprocessing.scale(sensor_obj, with_std=False)
208
208
 
209
209
  allan_l = []
File without changes