AstroUtilities Class

ASCOM support utilities

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public class AstroUtilities : IDisposable
Inheritance
Object    AstroUtilities
Implements
IDisposable

Constructors

AstroUtilitiesInitializes a new instance of the AstroUtilities class

Properties

JulianDateUtc Current Julian date based on the UTC time scale
LeapSeconds Current number of leap seconds

Methods

Almanac Create a one year almanac for the given event, year and location.
DeltaT Returns the value of DeltaT (Terrestrial time minus Universal Time = TT-UT1) at the given Julian date.
Dispose Dispose of the Utilities object
EventTimes Function that returns a list of rise and set events of a particular type that occur on a particular day at a given latitude, longitude and time zone
JulianDateFromDateTime Calculate the Julian date from a provided DateTime value. The value is assumed to be a UTC time
JulianDateToDateTime Convert a Julian date to a UTC DateTime value on the Gregorian time scale
MoonIllumination Returns the fraction of the Moon's surface that is illuminated
MoonPhase Returns the Moon phase as an angle
SetLeapSeconds Set the current number of leap seconds (overrides the built-in leap second value)
SetLogger Assign a logger instance to the NOVAS component

Version Information

.NET Standard

Supported in: 2.0

See Also