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.0.tar.gz (646.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astronomia-3.0.0-py3-none-any.whl (619.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astronomia-3.0.0.tar.gz
  • Upload date:
  • Size: 646.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for astronomia-3.0.0.tar.gz
Algorithm Hash digest
SHA256 7d59ab7ec347b16ef539e4557d891167184e7a75028f06af15c6439ae77fa0a4
MD5 462abcc95a6e9dde8525a33763ad187a
BLAKE2b-256 353b39344da94d4fe15cea27f4082e473af07e44dc53bc15d4d0b12e8412ed74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astronomia-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 619.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for astronomia-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bb03448118b1bb0f31c34e338c4ebb85949bfe065d9073d8e2fe83fa9510721
MD5 0a97c8b6b8f1be753c1cc2bc3dde4c5a
BLAKE2b-256 7c326b1f89b386382242fcbe1f8dcbc11b19f0e35ba97ea01eaacc2efd0647e4

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