Corrects position vector for aberration of light.

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

Syntax

C#
public short Aberration(
	double[] pos,
	double[] vel,
	double lighttime,
	ref double[] pos2
)
Visual Basic
Public Function Aberration ( _
	pos As Double(), _
	vel As Double(), _
	lighttime As Double, _
	ByRef pos2 As Double() _
) As Short
Visual C++
public:
virtual short Aberration(
	array<double>^ pos, 
	array<double>^ vel, 
	double lighttime, 
	array<double>^% pos2
) sealed

Parameters

pos
Type: array<System..::..Double>[]()[][]
Position vector, referred to origin at center of mass of the Earth, components in AU.
vel
Type: array<System..::..Double>[]()[][]
Velocity vector of center of mass of the Earth, referred to origin at solar system barycenter, components in AU/day.
lighttime
Type: System..::..Double
Light time from body to Earth in days.
pos2
Type: array<System..::..Double>[]()[][]%
OUT: Position vector, referred to origin at center of mass of the Earth, corrected for aberration, components in AU

Return Value

0...Everything OK.

Remarks

Algorithm includes relativistic terms.

See Also