Update existing code, python, astrology, astronomy
- or -
Post a project like this1207
£30(approx. $38)
- Posted:
- Proposals: 3
- Remote
- #3104590
- Awarded
Description
Experience Level: Entry
I have some python code which uses the PYEPHEM library to calculate planetary positions and draw out spirographs kinda like this...
https://www.excel-wizardry.co.uk/blog/25-maths-and-speed-networking-part1
I believe that the code calculates the planets/bodies based on a Geocentric system. I would like to alter the code to show planets/bodies based on a Heliocentric system.
Geocentric = Solar system with Earth at its centre.
Heliocentric = Solar system with the Sun at its centre.
in the code we calculate LON (Longitude) which i think gives us Geocentric longitude. In the Pyephem docs it says HLON would give us heliocentric longitude.
https://rhodesmill.org/pyephem/quick.html
I have tried to alter the code but it throws an error due to the Ecliptic...
Hopefully it should just be a couple of changes to the code....
all the best
Will
https://www.excel-wizardry.co.uk/blog/25-maths-and-speed-networking-part1
I believe that the code calculates the planets/bodies based on a Geocentric system. I would like to alter the code to show planets/bodies based on a Heliocentric system.
Geocentric = Solar system with Earth at its centre.
Heliocentric = Solar system with the Sun at its centre.
in the code we calculate LON (Longitude) which i think gives us Geocentric longitude. In the Pyephem docs it says HLON would give us heliocentric longitude.
https://rhodesmill.org/pyephem/quick.html
I have tried to alter the code but it throws an error due to the Ecliptic...
Hopefully it should just be a couple of changes to the code....
all the best
Will
Will P.
100% (28)Projects Completed
14
Freelancers worked with
10
Projects awarded
42%
Last project
4 Oct 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies