nsat / pypredict

Spire port of predict open-source tracking library
GNU General Public License v2.0
64 stars 17 forks source link

CR: Simpleapi #11

Closed jtrutna closed 9 years ago

jtrutna commented 9 years ago

Modified the api to hopefully make it a bit simpler and more pythonic - removed Observer object now that we've got massage_* for extracting values.

jtrutna commented 9 years ago

@ttrutna

Any reason not to return truncated transits.

Just because it's easy to truncate a transit and hard to untruncate one. Also, you need to get all the transits if you want to iterate over sequential windows.

t1 = predict.transits(tle, qth, a, b) t2 = predict.transits(tle, qth, b, c) ~= t3 = predict.transits(tle, qth, a, c)

jtrutna commented 9 years ago

Closing this CR for a PR.