ericagol / NbodyGradient.jl

N-body integrator computes derivatives with respect to initial conditions for TTVs, RV, Photodynamics & more
MIT License
20 stars 9 forks source link

Update documentation #76

Closed langfzac closed 2 years ago

langfzac commented 3 years ago
langfzac commented 3 years ago

This gets us most of the way to completing #73.

ericagol commented 3 years ago

I think it would be good to make the example in the documentation match the format of that in the paper; i.e. include the t0 value in the call (even though it is now deprecated). As I mentioned, this caused a problem in the documentation which led to the transit times being returned as zeros (since the version of NbodyGradient used didn't yet include the method which drops t0).

langfzac commented 2 years ago

Ok, I've added a note on constructors that addresses notational differences in the examples here and in the paper. It explicitly shows the Integrator constructor from the paper. I think this is a better option than having a 'deprecated' interface as the example in the documentation.

As for the issue with the docs showing zeros for the transit times, this will be fixed when this is merged.

@ericagol Let me know if there's anything you'd like to add to the docs before I merge.

ericagol commented 2 years ago

Looks good; nice work!