A Python package to generate star charts with spherical projection centered on +90 degrees for Northern Hemisphere and -90 degrees for Southern Hemisphere projections
Project description
Star Chart with Spherical Projection
A Python package to generate an astronomy star chart based on spherical projection with +90/-90° in the center (orignally based on Astrolabe work) with declination and right ascension and proper motion
Star Chart in the Northern Hemisphere (centered on 90°) Star Chart in the Southern Hemisphere (centered on -90°)
Overview
From perspective of an observer on the Earth's surface, the stars sit along the celestial sphere at a distance from the celestial equator (declination) and the position of the vernal equinox (right ascension). The stars will appear to rotate across the sky as a result of the Earth's rotation, but their position is fixed (if we ignore proper motion and precession for the moment).
The first step to plot the celestial sphere onto a 2D plot is to map right ascension as hours along the plot (polar plot's theta value) and declination as the distance from the center of the circle (polar plot's radius value). However, attempting to map the right ascension and declination direclty will cause a distinct amount of distortion since the angles between the stars along the declination are no longer conserved. On the left, the constellation of the Big Dipper is stretched into an unfamiliar shape. By accounting for the spherical transformation, the star chart can be corrected as seen on the right.
Without Correction | With Correction |
---|---|
Spherical projection can overcome this difficulty by converting the position of the declination to:
new_declination = tan(45° + (original_declination / 2))
Dependencies
pip install -r requirements.txt
matplotlib
numpy
pandas
Install
PyPi pip install at pypi.org/project/star-chart-spherical-projection/
pip install star-chart-spherical-projection
Documentation
Examples
Tests
TODO:
Add README badges: tests
Update pypi setup.py development status
Update tarball download_url via VERSION tag
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file star_chart_spherical_projection-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: star_chart_spherical_projection-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f02165d45d1b48d4160e755659875954b2a3dd77e5a24c3c20a667ac5980069 |
|
MD5 | 27df1a5459ced5b64f2d69a781c9bdd2 |
|
BLAKE2b-256 | 016d3a2d6b9c4b5609ff874d40243ea5e67fe37f21a6610671e8fddb77d6964a |