NovasSiderealTime Method
Computes the Greenwich sidereal time, either mean or apparent, at Julian date 'JdHigh' + 'JdLow'.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short SiderealTime(
double JdHigh,
double JdLow,
double DeltaT,
GstType GstType,
Method Method,
Accuracy Accuracy,
ref double Gst
)
Public Shared 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
- 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.
Int16
0 ... everything OK
1 ... invalid value of 'Accuracy'
2 ... invalid value of 'Method'
> 10, < 30 ... 10 + error from function 'CioRai'
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.
Supported in: 2.0