Skip to main content

Library for calculation of ephemeris and other astronomical calculations

Project description

Tests Test Coverage Latest release BSD-3 clause license astronomia downloads PyPI - Python Version

Astronomia - Quick Guide

Astronomia is a collection of subroutines and applications for calculating the positions of the sun, moon, planets and other celestial objects. The emphasis is on high accuracy over a several thousand year time span. Note that the techniques used are overkill for most calendar applications.

The subroutine library attempts to implement some the techniques described in Astronomical Algorithms, second edition 1998, by Jean Meeus, Willmann-Bell, Inc.

Currently there are no graphical applications apart from some demo CGI interfaces.

Astronomia will work with Python 2.6+ and 3.0+.

Documentation

Reference documentation is at http://timcera.bitbucket.io/.

Installation

At the command line:

$ pip install astronomia
# OR
$ conda install -c conda-forge astronomia

Usage

To use Astronomia in a project:

import astronomia

Development

Development is managed on bitbucket at https://bitbucket.org/timcera/astronomia/overview.

History

Astronomia is a fork of the Astrolabe library created by Bill McClain. The Astrolabe library is no longer available.

I (Tim Cera) used the Astrolabe library within my tidal analysis package TAPPy. In 2013 I pulled Astrolabe out of TAPPy and forked Astronomia. I have since fixed many bugs and added features. The most important added feature is the ability for most functions to work with array inputs. Bill McClain had dual Python and ‘C’ code, but I focused only on the Python code, updating with newer data and equations as I found them.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astronomia-3.0.2.tar.gz (694.6 kB view details)

Uploaded Source

Built Distribution

astronomia-3.0.2-py3-none-any.whl (673.5 kB view details)

Uploaded Python 3

File details

Details for the file astronomia-3.0.2.tar.gz.

File metadata

  • Download URL: astronomia-3.0.2.tar.gz
  • Upload date:
  • Size: 694.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for astronomia-3.0.2.tar.gz
Algorithm Hash digest
SHA256 5f5b5e605b894a8b86f44f66f8f8913cf834659e3838d04cbab048d1fc2dc195
MD5 bba1654a5292d544d914a39f65b47a2d
BLAKE2b-256 e2a7e69e75b68ff54a4df12d93f7fb64b8397eed02503f4a8cbbe4c40bb7f14b

See more details on using hashes here.

File details

Details for the file astronomia-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: astronomia-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 673.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for astronomia-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be3f71c8712c294c43f53a117b159c8a112727c9adb191c4df69aa352d13f132
MD5 babb74dd23076db4d4036d5da50be312
BLAKE2b-256 75ac59b62887414f69a08347f22295fe07b61548e2fc648e59c5eefea3c29f8c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page