Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps astronomy-engine from 2.1.12 to 2.1.13.

Release notes

Sourced from astronomy-engine's releases.

True ecliptic coordinates of date

This release changes the Ecliptic functions to return true ecliptic coordinates of date instead of coordinates referenced to the mean equinox of J2000. This matters because ecliptic coordinates are often significant for physical phenomena such as eclipses, transits, lunar phases, etc.

So-called "true" coordinates correct for the following 3 variables in the orientation system:

  • Large scale precession of the Earth's axis. This is a gyrating movement over a period of approximately 26000 years.
  • Small scale nutation of the Earth's axis. This small wobbling movement has a primary periodic component of 18.6 years.
  • Obliquity drift. This is a slow change of the angle between the Earth's orbital plane and the Earth's equatorial plane. Currently the angle between the planes is decreasing at a rate of 47 arcseconds per century.

By changing the Ecliptic functions to correct for these 3 variables, the results are a better fit for calculating phenomena that depend on them.

Support for calculating mean ecliptic coordinates in the J2000 system (represented by the three-letter code ECL) still exists in the form of rotation matrix functions:

  • Rotation_ECL_EQD
  • Rotation_ECL_EQJ
  • Rotation_ECL_EQD
  • Rotation_ECL_EQJ
  • Rotation_ECL_HOR
  • Rotation_HOR_ECL

New rotation matrix functions have been added to support true ecliptic coordinates of date, with the newly added three-letter code ECT:

  • Rotation_ECT_EQD
  • Rotation_ECT_EQJ
  • Rotation_EQD_ECT
  • Rotation_EQJ_ECT

Better documentation of coordinate systems

The API documentation has been updated to clearly specify whether equatorial coordinates or ecliptic coordinates are referenced to the true equinox (corrected for both precession and nutation) or the mean equinox (corrected for precession only).

More efficient nutation

Many calculations in Astronomy Engine require calculating nutation, as mentioned above. The nutation formula was excessively slow in earlier versions. It was using the full 77-term trigonometric series IAU2000B. This has been truncated to a 5-term series, and optimized via loop unrolling, across all 5 supported programming languages. The result is still accurate within 2 arcseconds while running more than 15 times as fast.

Commits
  • 1a4f842 Updated Ecliptic to return ECL in all languages.
  • d4660de JS: Ecliptic function returns ECT instead of ECL.
  • 47ce0ac C#: EquatorialToEcliptic now returns ECT instead of ECL.
  • f811b6f C: Ecliptic function returns ECT instead of ECL.
  • f959599 Completed EQJ/ECT, ECT/EQJ rotations.
  • 1864fa8 Orientation nomenclature. C: EQJ/ECT rotations.
  • 281180d Use consistent descriptions of EQJ, ECL.
  • b4c36e7 Merge branch 'master' into ecliptic
  • 30a9b0b Fixed warnings from gcc 12.2.
  • dfbd268 JS: Added rotation ECT/EQD.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [astronomy-engine](https://github.com/cosinekitty/astronomy) from 2.1.12 to 2.1.13.
- [Release notes](https://github.com/cosinekitty/astronomy/releases)
- [Commits](cosinekitty/astronomy@v2.1.12...v2.1.13)

---
updated-dependencies:
- dependency-name: astronomy-engine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2023

Superseded by #14.

@dependabot dependabot bot closed this Feb 20, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/astronomy-engine-2.1.13 branch February 20, 2023 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant