JS: Implemented VectorObserver.

This commit is contained in:
Don Cross
2021-06-21 16:45:59 -04:00
parent 7b543249b1
commit 90f5ea367e
22 changed files with 10551 additions and 8585 deletions

View File

@@ -1551,7 +1551,6 @@ def _era(time): # Earth Rotation Angle
theta += 360.0
return theta
def _sidereal_time(time):
t = time.tt / 36525.0
eqeq = 15.0 * time._etilt().ee # Replace with eqeq=0 to get GMST instead of GAST (if we ever need it)
@@ -4305,7 +4304,7 @@ def VectorObserver(vector, ofdate):
Parameters
----------
vector : Vector
The geocentric vector in an equatorial orientation.
The geocentric equatorial position vector for which to find geographic coordinates.
The components are expressed in astronomical units (AU).
The time `vector.t` determines the Earth's rotation.
ofdate : bool