NovasDLight Method
Returns the difference in light-time, for a star, between the barycenter of the solar system and the observer (or the geocenter).
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static double DLight(
double[] Pos1,
double[] PosObs
)
Public Shared Function DLight (
Pos1 As Double(),
PosObs As Double()
) As Double
- Pos1 Double
- Position vector of star, with respect to origin at solar system barycenter.
- PosObs Double
- Position vector of observer (or the geocenter), with respect to origin at solar system barycenter, components in AU.
DoubleDifference in light time, in the sense star to barycenter minus star to earth, in days.
Alternatively, this function returns the light-time from the observer (or the geocenter) to a point on a
light ray that is closest to a specific solar system body. For this purpose, 'Pos1' is the position
vector toward observed object, with respect to origin at observer (or the geocenter); 'PosObs' is
the position vector of solar system body, with respect to origin at observer (or the geocenter),
components in AU; and the returned value is the light time to point on line defined by 'Pos1'
that is closest to solar system body (positive if light passes body before hitting observer, i.e., if
'Pos1' is within 90 degrees of 'PosObs').
Supported in: 2.0