Skip to content

Releases: onekiloparsec/aa-js

v3.5.2 Bugfix + Sun

24 Nov 12:52
Compare
Choose a tag to compare

One important bugfix of Rise Transit and Set times. Times were correct, but transit altitude was wrong.

One has also improved the computations of rise, transit and set times by using the 0h Dynamical Time (instead of 0h UT) for the input coordinates times.

Improved Sun coordinates by provided a new method for apparent equatorial coordinates, and for computing the rise, transit and set times easily.

v3.5

19 Nov 16:44
Compare
Choose a tag to compare

Mostly aligning fast low-precision algorithms of Pluto with other Planets, and making Planets and DwarfPlanet inherit from the same base type. Bugfix of return type of Planets semi diameters.

v3.4

18 Nov 21:14
Compare
Choose a tag to compare

v3.4 brings a few but important changes since v3.3:

  • Some modules have been reorganised (dates inside times, precessions inside coordinates)
  • The default precision of Decimal is now left unset (in the past, it was set to a way too high value of 30 – Decimal.js default is 20)
  • All Planet & Earth & Moon coordinates functions now accepts the highPrecision flag (default always true)
  • Some fast algorithms were made even faster by avoiding an Decimal trigonometric and .toNumber() calls.
  • Many more benchmarks were added.
  • Fixed the missing usage of the highPrecision flag left in v3.3

V3.3

17 Nov 08:09
Compare
Choose a tag to compare

This new minor release of aa-js fairly soon after the release of V3.0 (and v3.2) is adding implementation of low-precision fast algorithms for Planet coordinates including Earth, as well as for ther rise, transit and set times.

It is also correcting multiple issues with :

  • Saturn ring system
  • Planet magnitudes
  • calls of rise, transit and set times for planets
  • consistency of parameter order and names

It also introduce distinct types for coordinates based on numbers. It allows to better indicate that the input coordinates can be in Decimals or numbers, but the output is always Decimals.

Known problems: the computations of Jupiter and Mars specific details are incomplete and untested.

v3!

03 Nov 08:03
Compare
Choose a tag to compare
v3!

Rewrite of the library using arbitrary-precision computations. In summary:

  • All computations are using decimal.js for arbitrary-precision. Hence the output of every function is now a Decimal instance.
  • Added numerous accessors for orbital elements of planets
  • Fixed and improved all the coordinates accessors, making easy to grab heliocentric coordinates vs geocentric, apparent or not.
  • Added transformation for topocentric coordinates.
  • Added various times getters (apparent sidereal time, decimal year etc)
  • Added (mean) Moon phases!
  • Added tests across the library
  • Improved the documentation that is now published in https://onekiloparsec.dev/aa-js

V2!

05 Jun 17:03
57b7271
Compare
Choose a tag to compare
V2!
  • Much more consistent APIs
  • Fixed various bugs in transits, sun, and juliandays
  • Added types everywhere, the lib is entirely in TypeScript
  • Added documentation (almost) everywhere

Slowly rolling types...

26 May 10:38
bf6c94e
Compare
Choose a tag to compare

This release simply declare typescript types in a correct way. We have also reworked the structure of the RiseSetTransit type.

Adding precession & more coordinates transformations

19 Apr 19:06
2e9d06a
Compare
Choose a tag to compare

In order to support the new Coordinates Converter of arcsecond.io (http://www.arcsecond.io/converters/coordinates), we completed some of the algorithms for coordinates conversion (including the precession).

Major improvement of coordinates

02 Apr 09:44
143ba20
Compare
Choose a tag to compare

Triggered by the request of https://www.arcsecond.io/iobserve user to add Moon illumination fraction, an important review of the coordinates computations were made.

The documentation (yet still very sparse) has been improved in key functions, especially when distinguishing true from apparent coordinates.

Finally, tests were added, and the Moon illumination can now be obtained with AA.js