mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-06 15:47:58 -05:00
JS: Implemented VectorObserver.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user