SOFA Routines

The SOFA sub-package is meant to be a migration path for those who are already using the C interface package, i.e., the sisl package. This means that SOFA is essentially a drop-in replacement. It also has the potential for checking the accuracy of the C algorithms by replacing the Float64 type with higher precision types such as Float128 or BigFloat and for checking the error propagation of the algorithms.

In addition to that, it has the potential to provide higher performance compared to the C library, particularly when doing calculations of a large number (of order millions) of objects. Having to do a C call on every object incurs a huge overhead and is a significant performance hit.

Astrometry.SOFA.AstromType
Astrom

Star independent astrometry parameters

Field NameDescription
pmtproper motion time interval (SSB, Julian years)
ebsolar system barycenter to observer (vector, AU)
ehSun to observer (vector, unit)
emdistance from Sun to observer (AU)
vbarycentric observer velocity (vector, c)
bm1inverse Lorenz factor, i.e., sqrt(1-v^2)
bpnbias-precesson-nutation matrix
alonglongitude + s' + dERA(DUT) (radians)
phigeodetic latitude (radians)
xplpolar motion xp wrt local meridian (radians)
yplpolar motion yp wrt local meridian (radians)
sphisine of geodetic latitude
cphicosine of geodetic latitude
diurabmagnitude of diurnal aberration vector
eral"local" Earth rotation angle (radians)
refarefraction constant A (radians)
refbrefraction constant B (radians)
source
Astrometry.SOFA.LdbodyType
Ldbody

Body parameters for light deflection

Field NameDescription
bmmass of the body (solar masses)
dldeflection limiter (radians^2/2)
pvbarycentric PV of the body (AU, AU/day)
source