SofaApco Method

Prepare astrometry parameters for observed place (with refraction constants).

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static void Apco(
	double date1,
	double date2,
	double[] ebpv,
	double[] ehp,
	double x,
	double y,
	double s,
	double theta,
	double elong,
	double phi,
	double hm,
	double xp,
	double yp,
	double sp,
	double refa,
	double refb,
	ref SofaAstrom astrom
)

Parameters

date1  Double
TDB as a 2-part Julian Date (part 1).
date2  Double
TDB as a 2-part Julian Date (part 2).
ebpv  Double
Earth barycentric position/velocity (length 6).
ehp  Double
Earth heliocentric position (length 3).
x  Double
CIP X coordinate.
y  Double
CIP Y coordinate.
s  Double
CIO locator s.
theta  Double
Earth rotation angle (radians).
elong  Double
Observer longitude (radians, east positive).
phi  Double
Observer geodetic latitude (radians).
hm  Double
Observer height above ellipsoid (m).
xp  Double
Polar motion X (radians).
yp  Double
Polar motion Y (radians).
sp  Double
TIO locator s' (radians).
refa  Double
Refraction constant A.
refb  Double
Refraction constant B.
astrom  SofaAstrom
Returned astrometry parameters.

Exceptions

ArgumentNullExceptionThrown if any array parameter is null.
ArgumentExceptionThrown if any array parameter has incorrect length.

Version Information

.NET Standard

Supported in: 2.0

See Also