Click or drag to resize
NOVAS3LightTime Method
Computes the geocentric position of a solar system body, as antedated for light-time.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public short LightTime(
	double JdTdb,
	Object3 SsObject,
	double[] PosObs,
	double TLight0,
	Accuracy Accuracy,
	ref double[] Pos,
	ref double TLight
)

Parameters

JdTdb
Type: SystemDouble
TDB Julian date of observation.
SsObject
Type: ASCOM.AstrometryObject3
Structure containing the designation for thesolar system body
PosObs
Type: SystemDouble
Position vector of observer (or the geocenter), with respect to origin at solar system barycenter, referred to ICRS axes, components in AU.
TLight0
Type: SystemDouble
First approximation to light-time, in days (can be set to 0.0 if unknown)
Accuracy
Type: ASCOM.AstrometryAccuracy
Selection for accuracy
Pos
Type: SystemDouble
Position vector of body, with respect to origin at observer (or the geocenter), referred to ICRS axes, components in AU.
TLight
Type: SystemDouble
Final light-time, in days.

Return Value

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