@robireton/delta-t

1.1.0 • Public • Published

delta-t

JavaScript Style Guide current version install size

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

Readme

Keywords

Package Sidebar

Install

npm i @robireton/delta-t

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

8.52 kB

Total Files

5

Last publish

Collaborators

  • robireton