View Source Astrex
Astrex is an astronomy library written in Elixir
provides functions to perfom typical astronomy calculations such as:
- coordinates conversion between equatorial and horizontal coordinates
- calculates the position of solar system objects (Moon and planets)
- calculates the magnetic declination to enable finding the "true north"
- includes a full blown NGC and IC objects database with query functionalities
history
History
- version 0.3.4 - first public release
- version 0.4.0 - update WMM.COF to 2025 release - added 200 brightest stars catalogue
installation
Installation
If available in Hex, the package can be installed
by adding astrex
to your list of dependencies in mix.exs
:
def deps do
[
{:astrex, "~> 0.4.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/astrex.