satkit 0.8.4__cp38-cp38-win_amd64.whl → 0.8.5__cp38-cp38-win_amd64.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.
satkit/_version.py CHANGED
@@ -14,5 +14,5 @@ __version__: str
14
14
  __version_tuple__: VERSION_TUPLE
15
15
  version_tuple: VERSION_TUPLE
16
16
 
17
- __version__ = version = "0.8.4"
18
- __version_tuple__ = version_tuple = (0, 8, 4)
17
+ __version__ = version = "0.8.5"
18
+ __version_tuple__ = version_tuple = (0, 8, 5)
Binary file
satkit/satkit.pyi CHANGED
@@ -1393,6 +1393,36 @@ class duration:
1393
1393
  Duration: 2 days, 12 hours, 0 minutes, 0.000 seconds
1394
1394
  """
1395
1395
 
1396
+ @typing.overload
1397
+ def __truediv__(self, other: float) -> duration:
1398
+ """Divide (or scale) duration by given value
1399
+
1400
+ Args:
1401
+ other (float): value by which to divide duration
1402
+
1403
+ Returns:
1404
+ duration: Duration object representing the input duration divided by the input value
1405
+
1406
+ Example:
1407
+ >>> print(duration.from_days(1) / 2)
1408
+ Duration: 12 hours, 0 minutes, 0.000 seconds
1409
+ """
1410
+
1411
+ @typing.overload
1412
+ def __truediv__(self, other: duration) -> float:
1413
+ """Divide (or scale) duration by another duration to get a dimensionless ratio
1414
+
1415
+ Args:
1416
+ other (duration): duration by which to divide current duration
1417
+
1418
+ Returns:
1419
+ float: Dimensionless ratio of the two durations
1420
+
1421
+ Example:
1422
+ >>> print(duration.from_hours(1) / duration.from_minutes(30))
1423
+ 2.0
1424
+ """
1425
+
1396
1426
  def __gt__(self, other: duration) -> bool:
1397
1427
  """Compare two durations for greater than
1398
1428
 
@@ -1649,6 +1679,39 @@ class quaternion:
1649
1679
  satkit.quaternion: Conjugate or inverse of the rotation
1650
1680
  """
1651
1681
 
1682
+ @property
1683
+ def x(self) -> float:
1684
+ """X component of the quaternion
1685
+
1686
+ Returns:
1687
+ float: X component of the quaternion
1688
+ """
1689
+
1690
+ @property
1691
+ def y(self) -> float:
1692
+ """Y component of the quaternion
1693
+
1694
+ Returns:
1695
+ float: Y component of the quaternion
1696
+ """
1697
+
1698
+ @property
1699
+ def z(self) -> float:
1700
+ """Z component of the quaternion
1701
+
1702
+ Returns:
1703
+ float: Z component of the quaternion
1704
+ """
1705
+
1706
+ @property
1707
+ def w(self) -> float:
1708
+ """Scalar component of the quaternion
1709
+
1710
+ Returns:
1711
+ float: Scalar component of the quaternion
1712
+ """
1713
+
1714
+
1652
1715
  @typing.overload
1653
1716
  def __mul__(self, other: quaternion) -> quaternion:
1654
1717
  """Multiply by another quaternion to concatenate rotations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: satkit
3
- Version: 0.8.4
3
+ Version: 0.8.5
4
4
  Summary: Satellite Orbital Dynamics Toolkit
5
5
  Author-email: Steven Michael <ssmichael@gmail.com>
6
6
  Maintainer-email: Steven Michael <ssmichael@gmail.com>
@@ -1,18 +1,18 @@
1
1
  satkit/__init__.py,sha256=_N6_4wz07lz7HhjdL-8bUKOlubFC4WJHyTumLoS1ru4,622
2
2
  satkit/__init__.pyi,sha256=zqMluH0ZKLDXQK9Z32yiEf2LncSDE8yiHHj9X0DS6Ww,732
3
- satkit/_version.py,sha256=pko_A_eLBgtgca2NAVwL1CtJv5C9sEnYRNT2KIjdjSY,446
3
+ satkit/_version.py,sha256=ajWZoScrojscBOac59VBfHuO-bpIeaQKv8Ww1_E7FwQ,446
4
4
  satkit/density.pyi,sha256=j_25g_QI7LKo0IEq13Y2daSMYnb4pE5ZPHFX6H8gscE,2211
5
5
  satkit/frametransform.pyi,sha256=UeVyVbWJppoPkCNWOvUM-MGs7FShVVP0wWh6LE8BPus,15806
6
6
  satkit/jplephem.pyi,sha256=5W0tK3-kv5Si-aS7cci1QGTtXC5cAeEbUj5mwIu7IU8,3506
7
7
  satkit/moon.pyi,sha256=r151F1_D2J_Zp9YgZfAuuUlqb8OMPUjk610UwhJ0OXs,3510
8
8
  satkit/planets.pyi,sha256=MX_4waUoTVM11ftaIEDg8kmdZDId9nuRWUUiMYP6Zvg,1110
9
9
  satkit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- satkit/satkit.cp38-win_amd64.pyd,sha256=_vtcd500VaaLOb-kWsoP8ZSg24U0hK-ji7jmlpCk3Lc,4640256
11
- satkit/satkit.pyi,sha256=76po_AyRsCU5MpmhS32-KhWFFjaTfSFV3iYCDL0398E,84827
10
+ satkit/satkit.cp38-win_amd64.pyd,sha256=bqf-js17OQKOQAFnPwr7NTkp-MD9LBP5NblhKbaWo6Y,4611584
11
+ satkit/satkit.pyi,sha256=buxuFCGNqliQpN0qOw81DjNr1AneBwCqKxrwLDyr5eM,86450
12
12
  satkit/sun.pyi,sha256=Ox7n-JJTNRXFjIR1U0ehbEeecoVss11KFiiKhl28wQs,4217
13
13
  satkit/utils.pyi,sha256=f087jRMh4Y4Lghrn-ncIvt16KCQ4Sto_icicvaXgXk4,3085
14
- satkit-0.8.4.dist-info/LICENSE,sha256=_G_hwbOSJZqdIWNjgzjFB91eZKvherjtmFfvVvy9wCA,1092
15
- satkit-0.8.4.dist-info/METADATA,sha256=0Um-Y0RkO2w7yj29ORsAnD4hD_CGhSLdPqTHjhdKCag,17388
16
- satkit-0.8.4.dist-info/WHEEL,sha256=2M046GvC9RLU1f1TWyM-2sB7cRKLhAC7ucAFK8l8f24,99
17
- satkit-0.8.4.dist-info/top_level.txt,sha256=1gsJ2XQ64FuUfw4z-i3CDi4Y4z9qcKNcm8Fy6-8xSVE,7
18
- satkit-0.8.4.dist-info/RECORD,,
14
+ satkit-0.8.5.dist-info/LICENSE,sha256=_G_hwbOSJZqdIWNjgzjFB91eZKvherjtmFfvVvy9wCA,1092
15
+ satkit-0.8.5.dist-info/METADATA,sha256=qc3AJ8x8SS-GwryiziFjDlipeWaXf4A01KLFgkE2lDE,17388
16
+ satkit-0.8.5.dist-info/WHEEL,sha256=q-8g9petFnV9NMO9vJ2udYt2PFlnDjFGlAmDhUgQ79c,99
17
+ satkit-0.8.5.dist-info/top_level.txt,sha256=1gsJ2XQ64FuUfw4z-i3CDi4Y4z9qcKNcm8Fy6-8xSVE,7
18
+ satkit-0.8.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.2)
2
+ Generator: setuptools (75.3.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-win_amd64
5
5