Skip to main content

Library for calculation of ephemeris and other astronomical calculations

Project description

https://travis-ci.org/timcera/astronomia.svg?branch=master https://coveralls.io/repos/timcera/astronomia/badge.png?branch=master Latest release astronomia license

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
$ easy_install astronomia

Or, if you have virtualenvwrapper installed:

$ mkvirtualenv astronomia
$ pip install 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-1.2.4.tar.gz (602.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: astronomia-1.2.4.tar.gz
  • Upload date:
  • Size: 602.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.11

File hashes

Hashes for astronomia-1.2.4.tar.gz
Algorithm Hash digest
SHA256 2abe581a0b6b7566b9a6658b03ec225ec74862e63e4997d35f5ddbd3918d39fd
MD5 a99fbe317afc6f384efd8828be48b743
BLAKE2b-256 c914cd315fc74624f6d2c248ba743c8aea9ef06676aacdce9a6946d8bf010b15

See more details on using hashes here.

Supported by

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