adrn / ebak

MIT License
3 stars 0 forks source link

get @dfm to predict RV vs time #4

Closed davidwhogg closed 8 years ago

davidwhogg commented 8 years ago

This is a simple (maybe already-done?) modification to @dfm's transit code, no?

davidwhogg commented 8 years ago

this is back in @davidwhogg's court

davidwhogg commented 8 years ago

I am going to do this but @dfm can you point me to where in your code you solve for f, E, given M? I need those functions for my solve of df/dt given dM/dt

dfm commented 8 years ago

I do it here: https://github.com/dfm/transit/blob/master/transit/include/kepler.h#L20

You might just want to do it yourself in Python cause it would be a PITA to use this.

davidwhogg commented 8 years ago

I just implemented everything here https://github.com/adrn/ebak/blob/master/ebak/celestialmechanics.py I am very proud of myself! But this code is untested. Closing this issue and about to open two others.