abstract-math 0.0.0.26__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.

@@ -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": math.sqrt(mul(2.0, div(mu, r))),
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"],
@@ -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
  )
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_math
3
- Version: 0.0.0.26
3
+ Version: 0.0.0.28
4
4
  Author: putkoff
5
5
  Author-email: partners@abstractendeavors.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -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=Dbwt0MKO8o5SwnkT9ejdIjf7e7PpzXTH7H9PrWAz3L0,9610
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
- abstract_math/solar_math/src/constants/__init__.py,sha256=OmUwgtbnjcFC2NBLTIypQ6v-DwdOEmSu1u4h-WgifAQ,772
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=oN7JPrDGoz-ZDK1ukNSnvWuq3a179gskfdXBLYz3xo0,6812
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.26.dist-info/METADATA,sha256=caQ-fCouVO-mjF4SWzBRrZj13NHMyMJ4jsp2BXbTfEk,3081
21
- abstract_math-0.0.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- abstract_math-0.0.0.26.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
23
- abstract_math-0.0.0.26.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5