@robireton/delta-t
v1.1.0
Published
ES6 module to compute estimates of ΔT — the difference between local/civil time and uniform/dynamical time
Downloads
21
Readme
delta-t
ES6 module to compute estimates of ΔT — the difference between local/civil time and uniform/dynamical time — using algorithms from NASA - Polynomial Expressions for Delta T. Also see Chapter 9, “Dynamical Time and Universal Time,” of Astronomical Algorithms by Jean Meeus.
Syntax
computeΔT( year, month )
parameters
year
: the year as a number
month
: the number of the month (January = 1, February = 2, etc.)
returns
value of ΔT in seconds
example
import computeΔT from '@robireton/delta-t'
computeΔT(1971, 10)
// => 42