brandon-rhodes/jplephem — pull request #1 by phn (2012-03-31 11:09:15+00:00)
Title: Attempt at computing spherical coordinates.

Ephemeris.compute_spherical() calls Ephemeris.compute() and then converts the Cartesian 6D coordinates into spherical coordinates.

See comments in the method for formulae and reference.