diff --git a/demo/python/astronomy.py b/demo/python/astronomy.py
index a87d2797..30f5e1ea 100644
--- a/demo/python/astronomy.py
+++ b/demo/python/astronomy.py
@@ -374,7 +374,7 @@ def _UserDefinedStar(body):
return star
return None
-def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float):
+def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float) -> None:
"""Assign equatorial coordinates to a user-defined star.
Some Astronomy Engine functions allow their `body` parameter to
@@ -5666,7 +5666,7 @@ class MoonQuarter:
def __repr__(self):
return 'MoonQuarter({}, {})'.format(self.quarter, repr(self.time))
-def SearchMoonQuarter(startTime: Time):
+def SearchMoonQuarter(startTime: Time) -> MoonQuarter:
"""Finds the first lunar quarter after the specified date and time.
A lunar quarter is one of the following four lunar phase events:
@@ -5694,7 +5694,7 @@ def SearchMoonQuarter(startTime: Time):
raise InternalError()
return MoonQuarter(quarter, time)
-def NextMoonQuarter(mq: MoonQuarter):
+def NextMoonQuarter(mq: MoonQuarter) -> MoonQuarter:
"""Continues searching for lunar quarters from a previous search.
After calling #SearchMoonQuarter, this function can be called
@@ -7018,7 +7018,7 @@ def _ToggleAzimuthDirection(az):
return az
-def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction):
+def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction) -> Vector:
"""Given apparent angular horizontal coordinates in `sphere`, calculate horizontal vector.
Parameters
diff --git a/generate/template/astronomy.py b/generate/template/astronomy.py
index 50c00c6a..976719e3 100644
--- a/generate/template/astronomy.py
+++ b/generate/template/astronomy.py
@@ -374,7 +374,7 @@ def _UserDefinedStar(body):
return star
return None
-def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float):
+def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float) -> None:
"""Assign equatorial coordinates to a user-defined star.
Some Astronomy Engine functions allow their `body` parameter to
@@ -4160,7 +4160,7 @@ class MoonQuarter:
def __repr__(self):
return 'MoonQuarter({}, {})'.format(self.quarter, repr(self.time))
-def SearchMoonQuarter(startTime: Time):
+def SearchMoonQuarter(startTime: Time) -> MoonQuarter:
"""Finds the first lunar quarter after the specified date and time.
A lunar quarter is one of the following four lunar phase events:
@@ -4188,7 +4188,7 @@ def SearchMoonQuarter(startTime: Time):
raise InternalError()
return MoonQuarter(quarter, time)
-def NextMoonQuarter(mq: MoonQuarter):
+def NextMoonQuarter(mq: MoonQuarter) -> MoonQuarter:
"""Continues searching for lunar quarters from a previous search.
After calling #SearchMoonQuarter, this function can be called
@@ -5512,7 +5512,7 @@ def _ToggleAzimuthDirection(az):
return az
-def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction):
+def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction) -> Vector:
"""Given apparent angular horizontal coordinates in `sphere`, calculate horizontal vector.
Parameters
diff --git a/source/python/README.md b/source/python/README.md
index dbe6964d..2f2b59f8 100644
--- a/source/python/README.md
+++ b/source/python/README.md
@@ -1454,7 +1454,7 @@ body to arrive at the observer at the observation time.
---
-### DefineStar(body: astronomy.Body, ra: float, dec: float, distanceLightYears: float)
+### DefineStar(body: astronomy.Body, ra: float, dec: float, distanceLightYears: float) -> None
**Assign equatorial coordinates to a user-defined star.**
@@ -2238,7 +2238,7 @@ Then call `NextMoonNode` to find as many more consecutive nodes as desired.
---
-### NextMoonQuarter(mq: astronomy.MoonQuarter)
+### NextMoonQuarter(mq: astronomy.MoonQuarter) -> astronomy.MoonQuarter
**Continues searching for lunar quarters from a previous search.**
@@ -3166,7 +3166,7 @@ This function is useful for finding general phase angles outside those four quar
---
-### SearchMoonQuarter(startTime: astronomy.Time)
+### SearchMoonQuarter(startTime: astronomy.Time) -> astronomy.MoonQuarter
**Finds the first lunar quarter after the specified date and time.**
@@ -3466,7 +3466,7 @@ The ecliptic coordinates of the Sun using the Earth's true equator of date.
---
-### VectorFromHorizon(sphere: astronomy.Spherical, time: astronomy.Time, refraction: astronomy.Refraction)
+### VectorFromHorizon(sphere: astronomy.Spherical, time: astronomy.Time, refraction: astronomy.Refraction) -> astronomy.Vector
**Given apparent angular horizontal coordinates in `sphere`, calculate horizontal vector.**
diff --git a/source/python/astronomy/astronomy.py b/source/python/astronomy/astronomy.py
index a87d2797..30f5e1ea 100644
--- a/source/python/astronomy/astronomy.py
+++ b/source/python/astronomy/astronomy.py
@@ -374,7 +374,7 @@ def _UserDefinedStar(body):
return star
return None
-def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float):
+def DefineStar(body: Body, ra: float, dec: float, distanceLightYears: float) -> None:
"""Assign equatorial coordinates to a user-defined star.
Some Astronomy Engine functions allow their `body` parameter to
@@ -5666,7 +5666,7 @@ class MoonQuarter:
def __repr__(self):
return 'MoonQuarter({}, {})'.format(self.quarter, repr(self.time))
-def SearchMoonQuarter(startTime: Time):
+def SearchMoonQuarter(startTime: Time) -> MoonQuarter:
"""Finds the first lunar quarter after the specified date and time.
A lunar quarter is one of the following four lunar phase events:
@@ -5694,7 +5694,7 @@ def SearchMoonQuarter(startTime: Time):
raise InternalError()
return MoonQuarter(quarter, time)
-def NextMoonQuarter(mq: MoonQuarter):
+def NextMoonQuarter(mq: MoonQuarter) -> MoonQuarter:
"""Continues searching for lunar quarters from a previous search.
After calling #SearchMoonQuarter, this function can be called
@@ -7018,7 +7018,7 @@ def _ToggleAzimuthDirection(az):
return az
-def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction):
+def VectorFromHorizon(sphere: Spherical, time: Time, refraction: Refraction) -> Vector:
"""Given apparent angular horizontal coordinates in `sphere`, calculate horizontal vector.
Parameters