abstract-math 0.0.0.27__py3-none-any.whl → 0.0.0.28__py3-none-any.whl
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.
Potentially problematic release.
This version of abstract-math might be problematic. Click here for more details.
- abstract_math/solar_math/main.py +1 -1
- abstract_math/solar_math/src/constants/planet_constants.py +2 -2
- {abstract_math-0.0.0.27.dist-info → abstract_math-0.0.0.28.dist-info}/METADATA +1 -1
- {abstract_math-0.0.0.27.dist-info → abstract_math-0.0.0.28.dist-info}/RECORD +6 -6
- {abstract_math-0.0.0.27.dist-info → abstract_math-0.0.0.28.dist-info}/WHEEL +1 -1
- {abstract_math-0.0.0.27.dist-info → abstract_math-0.0.0.28.dist-info}/top_level.txt +0 -0
abstract_math/solar_math/main.py
CHANGED
|
@@ -198,7 +198,7 @@ def simulate_radial_flight_si(
|
|
|
198
198
|
"hit_target": hit_target,
|
|
199
199
|
"turned_back": turned_back,
|
|
200
200
|
"traveled_m": traveled_m,
|
|
201
|
-
"vesc_end_mps":
|
|
201
|
+
"vesc_end_mps": exp_it(mul(2.0, div(mu, r)),-2),
|
|
202
202
|
|
|
203
203
|
# extended stats
|
|
204
204
|
"furthest_r": tracker["furthest_r"],
|
|
@@ -99,8 +99,8 @@ def planet_circumference(name: str = "earth", units: str = 'meters') -> float:
|
|
|
99
99
|
def planet_mass(name: str = "earth") -> float:
|
|
100
100
|
return get_planet_vars(name)["mass"]
|
|
101
101
|
|
|
102
|
-
def planet_surface_g(name: str = "earth", as_g0: bool = False) -> float:
|
|
103
|
-
v = get_planet_vars(name)["surface_g"]
|
|
102
|
+
def planet_surface_g(name: str = "earth", as_g0: bool = False, units: str = "meters") -> float:
|
|
103
|
+
v = get_planet_vars(name, units)["surface_g"]
|
|
104
104
|
return div(v, g0) if as_g0 else v
|
|
105
105
|
|
|
106
106
|
def escape_velocity(name: str = "earth", altitude: float = 0.0, units: str = "meters") -> float:
|
|
@@ -6,18 +6,18 @@ abstract_math/flask_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
6
6
|
abstract_math/flask_scripts/flask_utils.py,sha256=bXF4PS1qJ1SDA2w6ecNHK1A3FmN4P-F2U6l6wPwhZgE,28511
|
|
7
7
|
abstract_math/solar_math/__init__.py,sha256=FfPkmWi3cQ3BLvUUUf6k22rGBE8scDL1EoM5l24biVo,39
|
|
8
8
|
abstract_math/solar_math/flask_utils.py,sha256=c82LrZ0dKC3Y8LxqOs1zDR6gRy8oXSx9balBD18gNB0,459
|
|
9
|
-
abstract_math/solar_math/main.py,sha256=
|
|
9
|
+
abstract_math/solar_math/main.py,sha256=OEUgQuwHLCXQu6CdCewf74DDaCMnKuiKYD3uhvnGZt0,9610
|
|
10
10
|
abstract_math/solar_math/src/__init__.py,sha256=qeal73F-NLu6sO_YSmD_komVpe17f0OFy2IfBR2QU_s,70
|
|
11
11
|
abstract_math/solar_math/src/imports.py,sha256=UZp2SkF8INamFVwLOIca6w9K-YKXsqhiqcf6bkWuLVo,181
|
|
12
12
|
abstract_math/solar_math/src/constants/__init__.py,sha256=Xsb9_3DdF5HxqWOleD-6jQbv09XdDd6o8Urdqb8Af1s,801
|
|
13
13
|
abstract_math/solar_math/src/constants/distance_constants.py,sha256=1TM_dzo0semwZkk5kveRljzPYN0ry5yNCmwORks4yUs,2793
|
|
14
|
-
abstract_math/solar_math/src/constants/planet_constants.py,sha256=
|
|
14
|
+
abstract_math/solar_math/src/constants/planet_constants.py,sha256=h1jJQJmIQGYUY-__hiDCSUWjUfNjfmF7IYMByRHmMJk,6842
|
|
15
15
|
abstract_math/solar_math/src/constants/time_constants.py,sha256=i1gMbymsAkF23YwF4KGwEPpNuwNp1n5MCb4ALHdjxnU,1890
|
|
16
16
|
abstract_math/solar_math/src/utils/__init__.py,sha256=Vb2bfx1p9YSmhnbqXBjGVPt1OQZ9I7PG_fMQdFqj-3k,91
|
|
17
17
|
abstract_math/solar_math/src/utils/escape_velocity.py,sha256=nngwySzxqB7JOV1RLRHKj6O3v4O45yOIkV3lVchPdGg,4926
|
|
18
18
|
abstract_math/solar_math/src/utils/geometry_utils.py,sha256=Ij4mASNFp2-CWy425fxMTEuMPuAZHs-E0qvi3BjaNkk,4169
|
|
19
19
|
abstract_math/solar_math/src/utils/velocity_utils.py,sha256=eiXstQ3PF0KAUamSFOHFIL1chyWweygdTyvBjQB_DXo,1888
|
|
20
|
-
abstract_math-0.0.0.
|
|
21
|
-
abstract_math-0.0.0.
|
|
22
|
-
abstract_math-0.0.0.
|
|
23
|
-
abstract_math-0.0.0.
|
|
20
|
+
abstract_math-0.0.0.28.dist-info/METADATA,sha256=KaGTLimXoqD_3zQG4wzaUYhFIl-VOvlCAmZYLHX711M,3081
|
|
21
|
+
abstract_math-0.0.0.28.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
22
|
+
abstract_math-0.0.0.28.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
|
|
23
|
+
abstract_math-0.0.0.28.dist-info/RECORD,,
|
|
File without changes
|