abstract-math 0.0.0.25__tar.gz → 0.0.0.27__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.
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/PKG-INFO +1 -1
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/setup.py +1 -1
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/constants/__init__.py +2 -1
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/constants/planet_constants.py +3 -3
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math.egg-info/PKG-INFO +1 -1
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/README.md +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/pyproject.toml +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/setup.cfg +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/__init__.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/createflask.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/derive_tokens.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/flask_scripts/__init__.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/flask_scripts/flask_utils.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/safe_math.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/__init__.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/flask_utils.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/main.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/__init__.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/constants/distance_constants.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/constants/time_constants.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/imports.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/utils/__init__.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/utils/escape_velocity.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/utils/geometry_utils.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/utils/velocity_utils.py +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math.egg-info/SOURCES.txt +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math.egg-info/dependency_links.txt +0 -0
- {abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math.egg-info/top_level.txt +0 -0
|
@@ -15,5 +15,6 @@ from .planet_constants import (
|
|
|
15
15
|
full_planet_surface_area, planet_volume, planet_circumference,
|
|
16
16
|
planet_mass, planet_surface_g, escape_velocity,
|
|
17
17
|
earth_radius, earth_diameter, full_earth_surface_area,
|
|
18
|
-
earth_volume, earth_circumference,DEFAULT_PLANET,DEFAULT_AS_RADIUS
|
|
18
|
+
earth_volume, earth_circumference,DEFAULT_PLANET,DEFAULT_AS_RADIUS,
|
|
19
|
+
distance_per_sec_to_mps
|
|
19
20
|
)
|
|
@@ -72,8 +72,8 @@ def get_planet_vars(name: str, units: str = "meters") -> Dict[str, Any]:
|
|
|
72
72
|
d_m = body["diameter"]
|
|
73
73
|
|
|
74
74
|
out = dict(body)
|
|
75
|
-
out["radius"] =
|
|
76
|
-
out["diameter"] =
|
|
75
|
+
out["radius"] = dconvert(r_m, "meters", units_norm)
|
|
76
|
+
out["diameter"] = dconvert(d_m, "meters", units_norm)
|
|
77
77
|
out["radius_units"] = units_norm
|
|
78
78
|
out["diameter_units"] = units_norm
|
|
79
79
|
return out
|
|
@@ -109,7 +109,7 @@ def escape_velocity(name: str = "earth", altitude: float = 0.0, units: str = "me
|
|
|
109
109
|
"""
|
|
110
110
|
mu = _BODY_BY_NAME[_normalize_name(name)]["mu"]
|
|
111
111
|
r = _BODY_BY_NAME[_normalize_name(name)]["radius"] # meters
|
|
112
|
-
h_m =
|
|
112
|
+
h_m = dconvert(altitude, units, "meters")
|
|
113
113
|
R = add(r, h_m)
|
|
114
114
|
return math.sqrt(mul(2.0, div(mu, R)))
|
|
115
115
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/flask_scripts/__init__.py
RENAMED
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/flask_scripts/flask_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/flask_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/imports.py
RENAMED
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math/solar_math/src/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.25 → abstract_math-0.0.0.27}/src/abstract_math.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|