NovasGravVec Method

Corrects position vector for the deflection of light in the gravitational field of an arbitrary body.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void GravVec(
	double[] Pos1,
	double[] PosObs,
	double[] PosBody,
	double RMass,
	ref double[] Pos2
)

Parameters

Pos1  Double
Position vector of observed object, with respect to origin at observer (or the geocenter), components in AU.
PosObs  Double
Position vector of observer (or the geocenter), with respect to origin at solar system barycenter, components in AU.
PosBody  Double
Position vector of gravitating body, with respect to origin at solar system barycenter, components in AU.
RMass  Double
Reciprocal mass of gravitating body in solar mass units, that is, Sun mass / body mass.
Pos2  Double
Position vector of observed object, with respect to origin at observer (or the geocenter), corrected for gravitational deflection, components in AU.

Remarks

This function valid for an observed body within the solar system as well as for a star.

Version Information

.NET Standard

Supported in: 2.0

See Also