VelocityVectorSetFromSite Method

Initialize the VelocityVector from a Site object and Greenwich Apparent Sdereal Time.

Definition

Namespace: ASCOM.Tools.NovasCom
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public bool SetFromSite(
	Site site,
	double gast
)

Parameters

site  Site
The Site object from which to initialize
gast  Double
Greenwich Apparent Sidereal Time

Return Value

Boolean
True if OK or throws an exception

Remarks

The velocity vector is that of the observer with respect to the Earth's center of mass. The GAST parameter must be for Greenwich, not local. The time is rotated through the site longitude. See SetFromSiteJD() for an equivalent method that takes UTC Julian Date and optionally Delta-T (eliminating the need for calculating hyper-accurate GAST yourself).

Version Information

.NET Standard

Supported in: 2.0

See Also