Skip to Main content Skip to Navigation
Journal articles

A differentiable N-body code for transit timing and dynamical modelling - I. Algorithm and derivatives

Abstract : When fitting N-body models to astronomical data - such as transit times, radial velocity, and astrometric positions at observed times - the derivatives of the model outputs with respect to the initial conditions can help with model optimization and posterior sampling. Here, we describe a general purpose symplectic integrator for arbitrary orbital architectures, including those with close encounters, which we have recast to maintain numerical stability and precision for small step sizes. We compute the derivatives of the N-body coordinates and velocities as a function of time with respect to the initial conditions and masses by propagating the Jacobian along with the N-body integration. For the first time, we obtain the derivatives of the transit times with respect to the initial conditions and masses using the chain rule, which is quicker and more accurate than using finite differences or automatic differentiation. We implement this algorithm in an open source package, NbodyGradient.jl, written in the JULIA language, which has been used in the optimization and error analysis of transit-timing variations in the TRAPPIST-1 system. We present tests of the accuracy and precision of the code, and show that it compares favourably in speed to other integrators that are written in C.
Complete list of metadata

https://hal-insu.archives-ouvertes.fr/insu-03748190
Contributor : Nathalie POTHIER Connect in order to contact the contributor
Submitted on : Tuesday, August 9, 2022 - 1:36:16 PM
Last modification on : Wednesday, August 10, 2022 - 3:46:35 AM

File

stab2044.pdf
Publisher files allowed on an open archive

Identifiers

Citation

Eric Agol, David M. Hernandez, Zachary Langford. A differentiable N-body code for transit timing and dynamical modelling - I. Algorithm and derivatives. Monthly Notices of the Royal Astronomical Society, 2021, 507, pp.1582-1605. ⟨10.1093/mnras/stab2044⟩. ⟨insu-03748190⟩

Share

Metrics

Record views

4

Files downloads

2