NovasLightTime Method

Computes the geocentric position of a solar system body, as antedated for light-time.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short LightTime(
	double JdTdb,
	Object3 SsObject,
	double[] PosObs,
	double TLight0,
	Accuracy Accuracy,
	ref double[] Pos,
	ref double TLight
)

Parameters

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.

Return Value

Int16
               0 ... everything OK
               1 ... algorithm failed to converge after 10 iterations
            > 10 ... error is 10 + error from function 'SolarSystem'.
            

Version Information

.NET Standard

Supported in: 2.0

See Also