Star charts and maps
Project description
Starplot
Starplot is a Python library for creating star charts and maps.
- ⭐ Zenith Plots - showing the stars from a specific time/location
- 🗺️ Map Plots - including North/South polar and Mercator projections
- 🎨 Custom Styles - for all objects
- 📥 Export - png, svg
- 🧭 Label Collision Avoidance
Examples
Zenith plot of the stars from a specific time/location:
Map around the constellation Orion, with M42 marked:
Basic Usage
To create a star chart for tonight's sky as seen from Palomar Mountain in California:
from datetime import datetime
from pytz import timezone
import starplot as sp
p = sp.ZenithPlot(
lat=33.363484,
lon=-116.836394,
dt=timezone("America/Los_Angeles").localize(datetime.now().replace(hour=22)),
limiting_magnitude=4.6,
style=sp.styles.BLUE,
resolution=2000,
)
p.export("starchart.png")
Documentation
Core Dependencies
- matplotlib
- pandas
- numpy
- geopandas
- cartopy
- skyfield
- pydantic
- adjustText
Coming Soon
- 🔭 Scope plots - that will simulate what you'll see through a telescope eyepiece
- 🪐 More objects - including planets, and a base library of deep sky objects (DSOs)
- 💫 Plotting ecliptic
- 🌐 RA/DEC Labels
- ⚖️ Better auto font-size adjustment
- ☄️ Better label collision detection and handling
License
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 Distribution
starplot-0.2.0.tar.gz
(19.2 MB
view hashes)
Built Distribution
Close
Hashes for starplot-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d723b5c972f86fb6b27de31f020363c855de12a4c0aa96c89c43cd9c595ec7 |
|
MD5 | 40f6e7c6c9d0699bddc5146c08f8570d |
|
BLAKE2b-256 | dfa588797eb3dd6c0918a0abc26559791d12ebe1eb0ab4fa0d838f1586894312 |