abstract-math 0.0.0.28__py3-none-any.whl → 0.0.0.30__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 +3 -2
- abstract_math/solar_math/src/imports.py +1 -1
- {abstract_math-0.0.0.28.dist-info → abstract_math-0.0.0.30.dist-info}/METADATA +1 -1
- {abstract_math-0.0.0.28.dist-info → abstract_math-0.0.0.30.dist-info}/RECORD +6 -6
- {abstract_math-0.0.0.28.dist-info → abstract_math-0.0.0.30.dist-info}/WHEEL +0 -0
- {abstract_math-0.0.0.28.dist-info → abstract_math-0.0.0.30.dist-info}/top_level.txt +0 -0
abstract_math/solar_math/main.py
CHANGED
|
@@ -5,7 +5,7 @@ from .src.constants.time_constants import seconds_per
|
|
|
5
5
|
from .src.constants.planet_constants import planet_radius, get_body, g_at_radius
|
|
6
6
|
from .src.utils.geometry_utils import visible_area_flat, visible_surface_angle
|
|
7
7
|
from .src.utils import get_R_mu,get_normalized_distance,get_normalized_starting_velocity
|
|
8
|
-
from .src.imports import math, mul, div, add # your abstract_math ops
|
|
8
|
+
from .src.imports import math, mul, div, add, exp # your abstract_math ops
|
|
9
9
|
from .src.constants import (
|
|
10
10
|
DEFAULT_UNITS,
|
|
11
11
|
DEFAULT_TIME,
|
|
@@ -13,6 +13,7 @@ from .src.constants import (
|
|
|
13
13
|
DEFAULT_START_ALTITUDE,
|
|
14
14
|
DEFAULT_AS_RADIUS
|
|
15
15
|
)
|
|
16
|
+
|
|
16
17
|
def normalize_inputs(
|
|
17
18
|
planet: str,
|
|
18
19
|
start_altitude: float,
|
|
@@ -198,7 +199,7 @@ def simulate_radial_flight_si(
|
|
|
198
199
|
"hit_target": hit_target,
|
|
199
200
|
"turned_back": turned_back,
|
|
200
201
|
"traveled_m": traveled_m,
|
|
201
|
-
"vesc_end_mps":
|
|
202
|
+
"vesc_end_mps": exp(mul(2.0, div(mu, r)),-2),
|
|
202
203
|
|
|
203
204
|
# extended stats
|
|
204
205
|
"furthest_r": tracker["furthest_r"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import math
|
|
2
2
|
from typing import Dict, Callable, Optional, Any
|
|
3
3
|
from ...safe_math import (
|
|
4
|
-
multiply_it as mul, divide_it as div, add_it as add, subtract_it as sub, exp_it as exp
|
|
4
|
+
multiply_it as mul,exp_it as exp, divide_it as div, add_it as add, subtract_it as sub, exp_it as exp
|
|
5
5
|
)
|
|
@@ -6,9 +6,9 @@ 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=2QtMUMXP2Fshdr95gIKKDm_NAJCTDjFqzt_x9R2hMA8,9613
|
|
10
10
|
abstract_math/solar_math/src/__init__.py,sha256=qeal73F-NLu6sO_YSmD_komVpe17f0OFy2IfBR2QU_s,70
|
|
11
|
-
abstract_math/solar_math/src/imports.py,sha256=
|
|
11
|
+
abstract_math/solar_math/src/imports.py,sha256=aiFyZLsoVwkGopAL0uLaIPordUizM7UT9shwShmf0f0,195
|
|
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
14
|
abstract_math/solar_math/src/constants/planet_constants.py,sha256=h1jJQJmIQGYUY-__hiDCSUWjUfNjfmF7IYMByRHmMJk,6842
|
|
@@ -17,7 +17,7 @@ abstract_math/solar_math/src/utils/__init__.py,sha256=Vb2bfx1p9YSmhnbqXBjGVPt1OQ
|
|
|
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.30.dist-info/METADATA,sha256=tqh6vYAjAsinRigYYJ1MoXURnRbwrZLCTC27k4x_PgM,3081
|
|
21
|
+
abstract_math-0.0.0.30.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
22
|
+
abstract_math-0.0.0.30.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
|
|
23
|
+
abstract_math-0.0.0.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|