A Python script for observing celestial bodies and plotting their positions using astronomical coordinates.
- Added the calculation osf the positions of the planets of the Solar System, stars and draw the constelations
- Pick the constellations by it's IAU Constellation Name (https://www.iau.org/public/themes/constellations/)
- Plot of a Galatic Frame
The Sky Observation Tool is a Python script that utilizes the skyfield and matplot libraries to calculate and plot the positions of celestial bodies. It allows you to specify a date, time, and geographic location to observe the sky from and provides the Right Ascention and Declination values for various celestial objects.
- Calculate the ra and dec of celestial bodies at a given date, time, and location
- Support for a wide range of celestial objects, including planets, stars, and the Moon
- Plot the positions of celestial objects on a galatic coordinate system
- Customizable plot with labeled markers for each celestial object
- Draw stars and constelations
- Python 3.x
- skyfield library (install via
pip install skyfield
) - matplotlib library (install via
pip install matplotlib
)
-
Install the required libraries by running the following command:
-
pip install skyfield matplotlib
-
Modify the script to specify your desired date, time, and geographic location.
-
Run the script using Python:
-
python sky_observation.py
-
The script will calculate the ra and dec values for the specified celestial objects and plot them on a galatic coordinate system.
Here's an example output of the script:
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information. Feel free to modify and customize the README.md file according to your specific project requirements.
- The skyfield library: https://rhodesmill.org/skyfield/
- The matplotlib library: https://matplotlib.org/