Move the origin of coordinates from the barycenter of the solar system to the observer (or the geocenter); i.e., this function accounts for parallax (annual+geocentric or justannual).

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public void Bary2Obs(
	double[] Pos,
	double[] PosObs,
	ref double[] Pos2,
	ref double Lighttime
)
Visual Basic
Public Sub Bary2Obs ( _
	Pos As Double(), _
	PosObs As Double(), _
	ByRef Pos2 As Double(), _
	ByRef Lighttime As Double _
)
Visual C++
public:
virtual void Bary2Obs(
	array<double>^ Pos, 
	array<double>^ PosObs, 
	array<double>^% Pos2, 
	double% Lighttime
) sealed

Parameters

Pos
Type: array<System..::..Double>[]()[][]
Position vector, referred to origin at solar system barycenter, components in AU.
PosObs
Type: array<System..::..Double>[]()[][]
Position vector of observer (or the geocenter), with respect to origin at solar system barycenter, components in AU.
Pos2
Type: array<System..::..Double>[]()[][]%
Position vector, referred to origin at center of mass of the Earth, components in AU.
Lighttime
Type: System..::..Double%
Light time from object to Earth in days.

Remarks