NovasGcrs2Equ Method

Converts GCRS right ascension and declination to coordinates with respect to the equator of date (mean or true).

Definition

Namespace: ASCOM.Tools.Novas31
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static short Gcrs2Equ(
	double JdTt,
	CoordSys CoordSys,
	Accuracy Accuracy,
	double RaG,
	double DecG,
	ref double Ra,
	ref double Dec
)

Parameters

JdTt  Double
TT Julian date of equator to be used for output coordinates.
CoordSys  CoordSys
Coordinate system selection for output coordinates.; 0 ... mean equator and equinox of date; 1 ... true equator and equinox of date; 2 ... true equator and CIO of date
Accuracy  Accuracy
Selection for accuracy
RaG  Double
GCRS right ascension in hours.
DecG  Double
GCRS declination in degrees.
Ra  Double
Right ascension in hours, referred to specified equator and right ascension origin of date.
Dec  Double
Declination in degrees, referred to specified equator of date.

Return Value

Int16
               0 ... everything OK
            >  0 ... error from function 'Vector2RaDec'' 
            > 10 ... 10 + error from function 'CioLocation'
            > 20 ... 20 + error from function 'CioBasis'
            
>

Remarks

For coordinates with respect to the true equator of date, the origin of right ascension can be either the true equinox or the celestial intermediate origin (CIO).

This function only supports the CIO-based method.

Version Information

.NET Standard

Supported in: 2.0

See Also