NovasEqu2Hor Method
Transforms topocentric right ascension and declination to zenith distance and azimuth.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void Equ2Hor(
double Jd_Ut1,
double DeltT,
Accuracy Accuracy,
double xp,
double yp,
OnSurface Location,
double Ra,
double Dec,
RefractionOption RefOption,
ref double Zd,
ref double Az,
ref double RaR,
ref double DecR
)
Public Shared Sub Equ2Hor (
Jd_Ut1 As Double,
DeltT As Double,
Accuracy As Accuracy,
xp As Double,
yp As Double,
Location As OnSurface,
Ra As Double,
Dec As Double,
RefOption As RefractionOption,
ByRef Zd As Double,
ByRef Az As Double,
ByRef RaR As Double,
ByRef DecR As Double
)
Parameters
- Jd_Ut1 Double
- UT1 Julian date.
- DeltT Double
- Difference TT-UT1 at 'jd_ut1', in seconds.
- Accuracy Accuracy
- Selection for accuracy
- xp Double
- Conventionally-defined x coordinate of celestial intermediate pole with respect to ITRS reference pole, in arcseconds.
- yp Double
- Conventionally-defined y coordinate of celestial intermediate pole with respect to ITRS reference pole, in arcseconds.
- Location OnSurface
- Structure containing observer's location
- Ra Double
- Topocentric right ascension of object of interest, in hours, referred to true equator and equinox of date.
- Dec Double
- Topocentric declination of object of interest, in degrees, referred to true equator and equinox of date.
- RefOption RefractionOption
- Refraction option. 0 ... no refraction; 1 ... include refraction, using 'standard' atmospheric conditions;
2 ... include refraction, using atmospheric parameters input in the 'Location' structure.
- Zd Double
- Topocentric zenith distance in degrees, affected by refraction if 'ref_option' is non-zero.
- Az Double
- Topocentric azimuth (measured east from north) in degrees.
- RaR Double
- Topocentric right ascension of object of interest, in hours, referred to true equator and
equinox of date, affected by refraction if 'ref_option' is non-zero.
- DecR Double
- Topocentric declination of object of interest, in degrees, referred to true equator and
equinox of date, affected by refraction if 'ref_option' is non-zero.
This function transforms topocentric right ascension and declination to zenith distance and azimuth.
It uses a method that properly accounts for polar motion, which is significant at the sub-arcsecond level.
This function can also adjust coordinates for atmospheric refraction.
Supported in: 2.0