NovasTopoStar Method
Computes the topocentric place of a star at date 'JdTt', given its catalog mean place, proper motion, parallax, and radial velocity.
Namespace: ASCOM.Tools.Novas31Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static short TopoStar(
double JdTt,
double DeltaT,
CatEntry3 Star,
OnSurface Position,
Accuracy Accuracy,
ref double Ra,
ref double Dec
)
Public Shared Function TopoStar (
JdTt As Double,
DeltaT As Double,
Star As CatEntry3,
Position As OnSurface,
Accuracy As Accuracy,
ByRef Ra As Double,
ByRef Dec As Double
) As Short
- JdTt Double
- TT Julian date for topocentric place.
- DeltaT Double
- Difference TT-UT1 at 'JdTt', in seconds of time.
- Star CatEntry3
- Catalog entry structure containing catalog data for the object in the ICRS
- Position OnSurface
- Specifies the position of the observer
- Accuracy Accuracy
- Code specifying the relative accuracy of the output position.
- Ra Double
- Topocentric right ascension in hours, referred to true equator and equinox of date 'JdTt'.
- Dec Double
- Topocentric declination in degrees, referred to true equator and equinox of date 'JdTt'.
Int16
= 0 ... Everything OK.
= 1 ... Invalid value of 'Where' in structure 'Location'.
> 10 ... Error code from function 'MakeObject'.
> 20 ... Error code from function 'Place'.
NOTE: Full accuracy is available for observation dates in the year range 2020-2050, outside this range accuracy is slightly reduced.
Supported in: 2.0