simonrw / ttvfast-python

Python interface to the TTVFast library
GNU General Public License v2.0
15 stars 6 forks source link

Nicer api #5

Open simonrw opened 8 years ago

simonrw commented 8 years ago

Add a nicer api

This returns a namedtuple of the results, with the following contents:

planets
epochs
times
rsky
vsky
rv (may be None)

Each one is a numpy array for speed, but this does add the numpy to the requirements. This is probably ok as people who want this library are probably already using numpy.


This change is Reviewable

simonrw commented 8 years ago

Rebasing from master