tidy up sim_eclipses.py