Skip to content

Team project from CodeAstro22, visualizing the solar system at any given time

License

Notifications You must be signed in to change notification settings

jluby127/solarsysdaily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solsysdaily- A Solar System Viewing Tool.

A rectangular badge, half black half purple containing the text made at Code Astro

Team project from CodeAstro22 (Team #39): Visualizing the solar system at any given time.
With only a calendar date input as a string in the format YYYY-MM-DD, you can generate a top down view of our Solar System on that day, which shows the the arrangement of the planets around the Sun. It is intended to be a simple, educational tool.

A future version will include an animation to show how the planets have moved/will move over one Earth year from the given date, and a random history fact for the day entered (since this is random, it may be an event that may not have happened before the year you entered)

How to install:

pip install solarsysdaily

How to use:

In a python file or jupyter notebook:

import solarsysdaily #this will generate a secret message
from solarsysdaily import utils
from solarsysdaily import plotting
date = "2000-01-01" #this is just an example date
planetdata = utils.gen_ephem_today(date)
angles = utils.coscalc(planetdata)
plotting.plotAll(planetdata, angles, truedist=False)

A plot window will launch, enjoy!

Detailed documentation can be found here.

About

Team project from CodeAstro22, visualizing the solar system at any given time

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages