NovasAberration Method
Corrects position vector for aberration of light. Algorithm includes relativistic terms.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void Aberration(
double[] Pos,
double[] Vel,
double LightTime,
ref double[] Pos2
)
Public Shared Sub Aberration (
Pos As Double(),
Vel As Double(),
LightTime As Double,
ByRef Pos2 As Double()
)
Parameters
- Pos Double
- Position vector, referred to origin at center of mass of the Earth, components in AU.
- Vel Double
- Velocity vector of center of mass of the Earth, referred to origin at solar system barycenter, components in AU/day.
- LightTime Double
- Light time from object to Earth in days.
- Pos2 Double
- Position vector, referred to origin at center of mass of the Earth, corrected for aberration, components in AU
If 'lighttime' = 0 on input, this function will compute it.
Supported in: 2.0