Sofa Class

Presentation facade for the IAU SOFA library

Definition

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

Remarks

This component assumes that a native library called libsofa exists in the same folder as the ASCOM.Tools DLL. This library must be compiled from the IAU SOFA C code base for each supported OS platform: linux64, arm32, win64 etc.

Constructors

SofaInitializes a new instance of the Sofa class

Methods

Af2a Convert degrees, arcminutes, arcseconds to radians.
Anp Normalize angle into the range 0 <= a < 2pi.
Atci13 Transform ICRS star data, epoch J2000.0, to CIRS using the SOFA Atci13 function.
Atco13 ICRS RA,Dec to observed place using the SOFA Atco13 function.
Atic13 Transform star RA,Dec from geocentric CIRS to ICRS astrometric using the SOFA Atic13 function.
Atio13 CIRS RA,Dec to observed place using the SOFA Atio13 funciton.
Atoc13 Observed place at a ground based site to ICRS astrometric RA,Dec using the SOFA Atoc13 function.
Atoi13 Observed place to CIRS using the SOFA Atoi13 function.
Dat For a given UTC date, calculate Delta(AT) = TAI−UTC (number of leap seconds).
Dtf2d Encode date and time fields into 2-part Julian Date (or in the case of UTC a quasi-JD form that includes special provision for leap seconds).
Eo06a Equation of the origins, IAU 2006 precession and IAU 2000A nutation.
SofaIssueDate Release date of the SOFA issue currently used by this component.
SofaReleaseNumber Major number of the SOFA issue currently used by this component.
SofaRevisionDate Release date of the revision to the SOFA Issue that is actually being used by this component.
SofaRevisionNumber Revision number of the SOFA issue currently used by this component.
Taitt Time scale transformation: International Atomic Time, TAI, to Terrestrial Time, TT.
Taiutc Time scale transformation: International Atomic Time, TAI, to Coordinated Universal Time, UTC.
Tf2a Convert hours, minutes, seconds to radians.
Tttai Time scale transformation: Terrestrial Time, TT, to International Atomic Time, TAI.
Utctai Time scale transformation: Coordinated Universal Time, UTC, to International Atomic Time, TAI.

Version Information

.NET Standard

Supported in: 2.0

See Also