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.
- {satkit-0.3.4 → satkit-0.3.6}/Cargo.toml +1 -1
- {satkit-0.3.4/python/satkit.egg-info → satkit-0.3.6}/PKG-INFO +1 -1
- {satkit-0.3.4 → satkit-0.3.6}/pyproject.toml +1 -1
- {satkit-0.3.4 → satkit-0.3.6/python/satkit.egg-info}/PKG-INFO +1 -1
- {satkit-0.3.4 → satkit-0.3.6}/src/earthgravity.rs +8 -4
- {satkit-0.3.4 → satkit-0.3.6}/LICENSE +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/MANIFEST.in +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/README.md +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/docs/source/conf.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/__init__.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/__init__.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/density.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/frametransform.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/jplephem.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/moon.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/planets.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/py.typed +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/satkit.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/satprop.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/sun.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit/utils.pyi +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/SOURCES.txt +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/dependency_links.txt +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/requires.txt +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/satkit.egg-info/top_level.txt +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/download_data.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/download_from_json.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/download_testvecs.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/orbitprop_gps_fit.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/sp3file.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/python/test/test.py +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/setup.cfg +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/astrotime.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/consts.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/duration.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/earth_orientation_params.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/frames.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/ierstable.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/frametransform/qcirs2gcrs.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/itrfcoord.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/jplephem.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/kepler.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/lib.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/moon.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/planets.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/lpephem/sun.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/nrlmsise.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/harmonic_oscillator.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/nalgebra.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_adaptive.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_adaptive_settings.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rk_explicit.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkf45.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkts54.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv65.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv65_table.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv87.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv87_table.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_nointerp.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_nointerp_table.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/rkv98_table.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/ode/types.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/drag.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/point_gravity.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/propagator.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/satproperties.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/satstate.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/orbitprop/settings.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/mod_utils.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyastrotime.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyconsts.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pydensity.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyduration.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyframes.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyframetransform.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pygravity.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyitrfcoord.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyjplephem.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pykepler.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_moon.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_planets.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pylpephem_sun.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pynrlmsise.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropagate.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropresult.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pypropsettings.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyquaternion.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysatproperties.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysatstate.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysgp4.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pysolarsystem.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pytle.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/pybindings/pyutils.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dpper.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dscom.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dsinit.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/dspace.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/getgravconst.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/initl.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/satrec.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4_lowlevel.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/sgp4/sgp4init.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/solarsystem.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/spaceweather.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/tle.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/types.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/datadir.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/download.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/mod.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/skerror.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/test.rs +0 -0
- {satkit-0.3.4 → satkit-0.3.6}/src/utils/update_data.rs +0 -0
|
@@ -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,
|
|
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 ==
|
|
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 ==
|
|
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..
|
|
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
|
|
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
|