mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-19 14:27:52 -04:00
Updated obsolete comments about how Delta-T is calculated.
Astronomy Engine used to use USNO historical and predictive tables, along with linear interpolation, to calculate Delta-T values. The problem with the USNO tables is, they did not work well outside a few centuries around present day. Later I replaced with Espenak & Meeus piecewise polynomials that work over a much larger time span (thousands of years). I just discovered there were still comments in the code referring to the USNO models. I updated the ones I could find to reflect the current truth about how the code works today.
This commit is contained in:
@@ -521,9 +521,9 @@ Sometimes we need to adjust a given [`Time`](#Time) value by a certain amount of
|
||||
This function adds the given real number of days in `days` to the date and time
|
||||
in the calling object.
|
||||
More precisely, the result's Universal Time field `ut` is exactly adjusted by `days`
|
||||
and the Terrestrial Time field `tt` is adjusted correctly for the resulting UTC date and time,
|
||||
according to the historical and predictive Delta-T model provided by the
|
||||
[United States Naval Observatory](http://maia.usno.navy.mil/ser7/).
|
||||
and the Terrestrial Time field `tt` is adjusted for the resulting UTC date and time,
|
||||
using a best-fit piecewise polynomial model devised by
|
||||
[Espenak and Meeus](https://eclipse.gsfc.nasa.gov/SEhelp/deltatpoly2004.html).
|
||||
The value of the calling object is not modified. This function creates a brand new
|
||||
[`Time`](#Time) object and returns it.
|
||||
|
||||
|
||||
@@ -547,9 +547,9 @@ class Time:
|
||||
in the calling object.
|
||||
|
||||
More precisely, the result's Universal Time field `ut` is exactly adjusted by `days`
|
||||
and the Terrestrial Time field `tt` is adjusted correctly for the resulting UTC date and time,
|
||||
according to the historical and predictive Delta-T model provided by the
|
||||
[United States Naval Observatory](http://maia.usno.navy.mil/ser7/).
|
||||
and the Terrestrial Time field `tt` is adjusted for the resulting UTC date and time,
|
||||
using a best-fit piecewise polynomial model devised by
|
||||
[Espenak and Meeus](https://eclipse.gsfc.nasa.gov/SEhelp/deltatpoly2004.html).
|
||||
|
||||
The value of the calling object is not modified. This function creates a brand new
|
||||
#Time object and returns it.
|
||||
|
||||
Reference in New Issue
Block a user