NbodyGradient
A fast, differentiable N-body integrator for modeling transiting exoplanets, and more.
This package provides a simple user-interface to carry out N-body simulations and compute the derivatives of the outputs with respect to the initial conditions. The current version of the code implements the following:
- Integrators:
- AHL21 (4th-order Symplectic; Agol, Hernandez, & Langford 2021)
- Initial Conditions:
- Cartesian coordinates (
CartesianIC) - Orbital elements (
ElementsIC)
- Cartesian coordinates (
- Output Models:
- Transit times (
TransitTiming) - Transit times, impact parameter, and sky-plane velocity (
TransitParameters)
- Transit times (
Getting Started
First, you'll need to add the package. Using the Julia REPL, run:
pkg> add NbodyGradientIf you'd like to use the developement version of the code, run:
pkg> add NbodyGradient#masterThen, use like any other Julia package
using NbodyGradientSee the Tutorials page for basic usage.