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
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.3.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/astrex.