NovasSiderealTime Method

Computes the Greenwich sidereal time, either mean or apparent, at Julian date 'JdHigh' + 'JdLow'.

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short SiderealTime(
	double JdHigh,
	double JdLow,
	double DeltaT,
	GstType GstType,
	Method Method,
	Accuracy Accuracy,
	ref double Gst
)

Parameters

JdHigh  Double
High-order part of UT1 Julian date.
JdLow  Double
Low-order part of UT1 Julian date.
DeltaT  Double
Difference TT-UT1 at 'JdHigh'+'JdLow', in seconds of time.
GstType  GstType
0 ... compute Greenwich mean sidereal time; 1 ... compute Greenwich apparent sidereal time
Method  Method
Selection for method: 0 ... CIO-based method; 1 ... equinox-based method
Accuracy  Accuracy
Selection for accuracy
Gst  Double
Greenwich apparent sidereal time, in hours.

Return Value

Int16
                     0 ... everything OK
                     1 ... invalid value of 'Accuracy'
                     2 ... invalid value of 'Method'
            > 10, < 30 ... 10 + error from function 'CioRai'
            

Remarks

The Julian date may be split at any point, but for highest precision, set 'JdHigh' to be the integral part of the Julian date, and set 'JdLow' to be the fractional part.

Version Information

.NET Standard

Supported in: 2.0

See Also