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

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

Syntax

C#
public short SiderealTime(
	double JdHigh,
	double JdLow,
	double DeltaT,
	GstType GstType,
	Method Method,
	Accuracy Accuracy,
	ref double Gst
)
Visual Basic
Public Function SiderealTime ( _
	JdHigh As Double, _
	JdLow As Double, _
	DeltaT As Double, _
	GstType As GstType, _
	Method As Method, _
	Accuracy As Accuracy, _
	ByRef Gst As Double _
) As Short
Visual C++
public:
virtual short SiderealTime(
	double JdHigh, 
	double JdLow, 
	double DeltaT, 
	GstType GstType, 
	Method Method, 
	Accuracy Accuracy, 
	double% Gst
) sealed

Parameters

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

Return Value

          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.

See Also