NovasLightTime Method
Computes the geocentric position of a solar system body, as antedated for light-time.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short LightTime(
double JdTdb,
Object3 SsObject,
double[] PosObs,
double TLight0,
Accuracy Accuracy,
ref double[] Pos,
ref double TLight
)
Public Shared Function LightTime (
JdTdb As Double,
SsObject As Object3,
PosObs As Double(),
TLight0 As Double,
Accuracy As Accuracy,
ByRef Pos As Double(),
ByRef TLight As Double
) As Short
- JdTdb Double
- TDB Julian date of observation.
- SsObject Object3
- Structure containing the designation for the solar system body
- PosObs Double
- Position vector of observer (or the geocenter), with respect to origin
at solar system barycenter, referred to ICRS axes, components in AU.
- TLight0 Double
- First approximation to light-time, in days (can be set to 0.0 if unknown)
- Accuracy Accuracy
- Selection for accuracy
- Pos Double
- Position vector of body, with respect to origin at observer (or the geocenter),
referred to ICRS axes, components in AU.
- TLight Double
- Final light-time, in days.
Int16
0 ... everything OK
1 ... algorithm failed to converge after 10 iterations
> 10 ... error is 10 + error from function 'SolarSystem'.
Supported in: 2.0