satkit 0.3.4__tar.gz → 0.3.6__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 (120) hide show
  1. {satkit-0.3.4 → satkit-0.3.6}/Cargo.toml +1 -1
  2. {satkit-0.3.4/python/satkit.egg-info → satkit-0.3.6}/PKG-INFO +1 -1
  3. {satkit-0.3.4 → satkit-0.3.6}/pyproject.toml +1 -1
  4. {satkit-0.3.4 → satkit-0.3.6/python/satkit.egg-info}/PKG-INFO +1 -1
  5. {satkit-0.3.4 → satkit-0.3.6}/src/earthgravity.rs +8 -4
  6. {satkit-0.3.4 → satkit-0.3.6}/LICENSE +0 -0
  7. {satkit-0.3.4 → satkit-0.3.6}/MANIFEST.in +0 -0
  8. {satkit-0.3.4 → satkit-0.3.6}/README.md +0 -0
  9. {satkit-0.3.4 → satkit-0.3.6}/python/docs/source/conf.py +0 -0
  10. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/__init__.py +0 -0
  11. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/__init__.pyi +0 -0
  12. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/density.pyi +0 -0
  13. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/frametransform.pyi +0 -0
  14. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/jplephem.pyi +0 -0
  15. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/moon.pyi +0 -0
  16. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/planets.pyi +0 -0
  17. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/py.typed +0 -0
  18. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/satkit.pyi +0 -0
  19. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/satprop.pyi +0 -0
  20. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/sun.pyi +0 -0
  21. {satkit-0.3.4 → satkit-0.3.6}/python/satkit/utils.pyi +0 -0
  22. {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/SOURCES.txt +0 -0
  23. {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/dependency_links.txt +0 -0
  24. {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/requires.txt +0 -0
  25. {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/top_level.txt +0 -0
  26. {satkit-0.3.4 → satkit-0.3.6}/python/test/download_data.py +0 -0
  27. {satkit-0.3.4 → satkit-0.3.6}/python/test/download_from_json.py +0 -0
  28. {satkit-0.3.4 → satkit-0.3.6}/python/test/download_testvecs.py +0 -0
  29. {satkit-0.3.4 → satkit-0.3.6}/python/test/orbitprop_gps_fit.py +0 -0
  30. {satkit-0.3.4 → satkit-0.3.6}/python/test/sp3file.py +0 -0
  31. {satkit-0.3.4 → satkit-0.3.6}/python/test/test.py +0 -0
  32. {satkit-0.3.4 → satkit-0.3.6}/setup.cfg +0 -0
  33. {satkit-0.3.4 → satkit-0.3.6}/src/astrotime.rs +0 -0
  34. {satkit-0.3.4 → satkit-0.3.6}/src/consts.rs +0 -0
  35. {satkit-0.3.4 → satkit-0.3.6}/src/duration.rs +0 -0
  36. {satkit-0.3.4 → satkit-0.3.6}/src/earth_orientation_params.rs +0 -0
  37. {satkit-0.3.4 → satkit-0.3.6}/src/frames.rs +0 -0
  38. {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/ierstable.rs +0 -0
  39. {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/mod.rs +0 -0
  40. {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/qcirs2gcrs.rs +0 -0
  41. {satkit-0.3.4 → satkit-0.3.6}/src/itrfcoord.rs +0 -0
  42. {satkit-0.3.4 → satkit-0.3.6}/src/jplephem.rs +0 -0
  43. {satkit-0.3.4 → satkit-0.3.6}/src/kepler.rs +0 -0
  44. {satkit-0.3.4 → satkit-0.3.6}/src/lib.rs +0 -0
  45. {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/mod.rs +0 -0
  46. {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/moon.rs +0 -0
  47. {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/planets.rs +0 -0
  48. {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/sun.rs +0 -0
  49. {satkit-0.3.4 → satkit-0.3.6}/src/nrlmsise.rs +0 -0
  50. {satkit-0.3.4 → satkit-0.3.6}/src/ode/harmonic_oscillator.rs +0 -0
  51. {satkit-0.3.4 → satkit-0.3.6}/src/ode/mod.rs +0 -0
  52. {satkit-0.3.4 → satkit-0.3.6}/src/ode/nalgebra.rs +0 -0
  53. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_adaptive.rs +0 -0
  54. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_adaptive_settings.rs +0 -0
  55. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_explicit.rs +0 -0
  56. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkf45.rs +0 -0
  57. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkts54.rs +0 -0
  58. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv65.rs +0 -0
  59. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv65_table.rs +0 -0
  60. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv87.rs +0 -0
  61. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv87_table.rs +0 -0
  62. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98.rs +0 -0
  63. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_nointerp.rs +0 -0
  64. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_nointerp_table.rs +0 -0
  65. {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_table.rs +0 -0
  66. {satkit-0.3.4 → satkit-0.3.6}/src/ode/types.rs +0 -0
  67. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/drag.rs +0 -0
  68. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/mod.rs +0 -0
  69. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/point_gravity.rs +0 -0
  70. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/propagator.rs +0 -0
  71. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/satproperties.rs +0 -0
  72. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/satstate.rs +0 -0
  73. {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/settings.rs +0 -0
  74. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/mod.rs +0 -0
  75. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/mod_utils.rs +0 -0
  76. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyastrotime.rs +0 -0
  77. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyconsts.rs +0 -0
  78. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pydensity.rs +0 -0
  79. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyduration.rs +0 -0
  80. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyframes.rs +0 -0
  81. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyframetransform.rs +0 -0
  82. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pygravity.rs +0 -0
  83. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyitrfcoord.rs +0 -0
  84. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyjplephem.rs +0 -0
  85. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pykepler.rs +0 -0
  86. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_moon.rs +0 -0
  87. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_planets.rs +0 -0
  88. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_sun.rs +0 -0
  89. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pynrlmsise.rs +0 -0
  90. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropagate.rs +0 -0
  91. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropresult.rs +0 -0
  92. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropsettings.rs +0 -0
  93. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyquaternion.rs +0 -0
  94. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysatproperties.rs +0 -0
  95. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysatstate.rs +0 -0
  96. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysgp4.rs +0 -0
  97. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysolarsystem.rs +0 -0
  98. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pytle.rs +0 -0
  99. {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyutils.rs +0 -0
  100. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dpper.rs +0 -0
  101. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dscom.rs +0 -0
  102. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dsinit.rs +0 -0
  103. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dspace.rs +0 -0
  104. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/getgravconst.rs +0 -0
  105. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/initl.rs +0 -0
  106. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/mod.rs +0 -0
  107. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/satrec.rs +0 -0
  108. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4.rs +0 -0
  109. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4_lowlevel.rs +0 -0
  110. {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4init.rs +0 -0
  111. {satkit-0.3.4 → satkit-0.3.6}/src/solarsystem.rs +0 -0
  112. {satkit-0.3.4 → satkit-0.3.6}/src/spaceweather.rs +0 -0
  113. {satkit-0.3.4 → satkit-0.3.6}/src/tle.rs +0 -0
  114. {satkit-0.3.4 → satkit-0.3.6}/src/types.rs +0 -0
  115. {satkit-0.3.4 → satkit-0.3.6}/src/utils/datadir.rs +0 -0
  116. {satkit-0.3.4 → satkit-0.3.6}/src/utils/download.rs +0 -0
  117. {satkit-0.3.4 → satkit-0.3.6}/src/utils/mod.rs +0 -0
  118. {satkit-0.3.4 → satkit-0.3.6}/src/utils/skerror.rs +0 -0
  119. {satkit-0.3.4 → satkit-0.3.6}/src/utils/test.rs +0 -0
  120. {satkit-0.3.4 → satkit-0.3.6}/src/utils/update_data.rs +0 -0
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "satkit"
3
- version = "0.3.3"
3
+ version = "0.3.6"
4
4
  edition = "2021"
5
5
  description = "Satellite Toolkit"
6
6
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: satkit
3
- Version: 0.3.4
3
+ Version: 0.3.6
4
4
  Summary: Satellite Orbital Dynamics Toolkit
5
5
  Author-email: Steven Michael <ssmichael@gmail.com>
6
6
  Maintainer-email: Steven Michael <ssmichael@gmail.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "satkit"
7
- version = "0.3.4"
7
+ version = "0.3.6"
8
8
  dependencies = ["numpy>=1.20.0"]
9
9
  requires-python = ">= 3.8"
10
10
  authors = [{ name = "Steven Michael", email = "ssmichael@gmail.com" }]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: satkit
3
- Version: 0.3.4
3
+ Version: 0.3.6
4
4
  Summary: Satellite Orbital Dynamics Toolkit
5
5
  Author-email: Steven Michael <ssmichael@gmail.com>
6
6
  Maintainer-email: Steven Michael <ssmichael@gmail.com>
@@ -6,7 +6,7 @@ use std::path::PathBuf;
6
6
  use nalgebra as na;
7
7
  type CoeffTable = na::DMatrix<f64>;
8
8
 
9
- type DivisorTable = na::SMatrix<f64, 20, 20>;
9
+ type DivisorTable = na::SMatrix<f64, 44, 44>;
10
10
 
11
11
  use once_cell::sync::OnceCell;
12
12
 
@@ -171,7 +171,9 @@ impl Gravity {
171
171
  pub fn accel(&self, pos: &Vec3, order: usize) -> Vec3 {
172
172
  // This is tedious, but using generics allows for vectors to be
173
173
  // allocated on the stack, which is faster
174
- if order == 2 {
174
+ if order == 1 {
175
+ self.accel_t::<1, 5>(pos)
176
+ } else if order == 2 {
175
177
  self.accel_t::<2, 6>(pos)
176
178
  } else if order == 3 {
177
179
  self.accel_t::<3, 7>(pos)
@@ -255,7 +257,9 @@ impl Gravity {
255
257
  pub fn accel_and_partials(&self, pos: &Vec3, order: usize) -> (Vec3, na::Matrix3<f64>) {
256
258
  // This is tedious, but using generics allows for vectors to be
257
259
  // allocated on the stack, which is faster
258
- if order == 2 {
260
+ if order == 1 {
261
+ self.accel_and_partials_t::<1, 5>(pos)
262
+ } else if order == 2 {
259
263
  self.accel_and_partials_t::<2, 6>(pos)
260
264
  } else if order == 3 {
261
265
  self.accel_and_partials_t::<3, 7>(pos)
@@ -613,7 +617,7 @@ impl Gravity {
613
617
  coeffs: cs,
614
618
  divisor_table: {
615
619
  let mut dt: DivisorTable = DivisorTable::zeros();
616
- for m in 0..19 {
620
+ for m in 0..43 {
617
621
  if m > 0 {
618
622
  dt[(m, m)] = 2.0 * m as f64 - 1.0;
619
623
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes