abstract-math 0.0.0.25__py3-none-any.whl → 0.0.0.26__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.
@@ -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"] = convert(r_m, "meters", units_norm)
76
- out["diameter"] = convert(d_m, "meters", units_norm)
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 = convert(altitude, units, "meters")
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_math
3
- Version: 0.0.0.25
3
+ Version: 0.0.0.26
4
4
  Author: putkoff
5
5
  Author-email: partners@abstractendeavors.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -11,13 +11,13 @@ abstract_math/solar_math/src/__init__.py,sha256=qeal73F-NLu6sO_YSmD_komVpe17f0OF
11
11
  abstract_math/solar_math/src/imports.py,sha256=UZp2SkF8INamFVwLOIca6w9K-YKXsqhiqcf6bkWuLVo,181
12
12
  abstract_math/solar_math/src/constants/__init__.py,sha256=OmUwgtbnjcFC2NBLTIypQ6v-DwdOEmSu1u4h-WgifAQ,772
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=GcJobNn5hYEJAGtdfrAgqy-3h0HOE-HzoivCQS7mJU8,6809
14
+ abstract_math/solar_math/src/constants/planet_constants.py,sha256=oN7JPrDGoz-ZDK1ukNSnvWuq3a179gskfdXBLYz3xo0,6812
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.25.dist-info/METADATA,sha256=LraZOrilfTFHwpL7xHfCIp2qz4Aj0umUjTb3VKLXV1w,3081
21
- abstract_math-0.0.0.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- abstract_math-0.0.0.25.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
23
- abstract_math-0.0.0.25.dist-info/RECORD,,
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,,