4
$\begingroup$

I would like to simulate the three object distance, specifically the distance of the moon to both, sun and earth for further investigation into tide prediction.

What would be a good starting point to browse? Do any (preferably python) libraries exist for this? My use is to query the function with a date and it would spit out the distance.

A first model I would be happy to start with would be basic circular trajectories and expand to elliptical & inclinations from there.

$\endgroup$
  • 3
    $\begingroup$ astronomy.stackexchange.com/questions/13488 might be a good start $\endgroup$ – barrycarter Oct 7 '19 at 23:50
  • $\begingroup$ Hi @ElDude for Python solutions my personal recommendation is to use Skyfield as a quick, self-contained solution. It downloads an ephemeris and interpolates it for you in a very pythonic way, so with just a few lines you can get everything you want, including "query wtih a date and spit out the distance" using .separation_from(). $\endgroup$ – uhoh Oct 8 '19 at 4:39
  • $\begingroup$ Check issue #228 for updates on constellations. See barrycarter's comment above for a wide range of options. Consider closing as dupicate(?) or perhaps refine your question to something specific that's not answered there? $\endgroup$ – uhoh Oct 8 '19 at 4:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.