Skip to content
/ planetc Public
forked from thommevans/planetc

Routines for implementing the analytic Mandel & Agol (2002) equations for planetary transit lightcurves, using a C backend with Python/Cython wrappers. Can also compute radial velocities for Keplerian orbits.

Notifications You must be signed in to change notification settings

OxES/planetc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

planetc

The planetc package contains code for implementing the analytic Mandel & Agol (2002) equationsfor planetary transit lightcurves. To do this, it uses a C backend with Python/Cython wrappers. Routines for calculating radial velocities of Keplerian orbits will be added next.

The C backend of planetc was originally based on the one written by Neale Gibson, as part of his "MyFunctions" package. There has been a fairly substantial reformatting of those original C backends for the ones contained in planetc, but the content remains essentially the same. On the other hand, the Python routines that perform calls to the C backend routines have been modified significantly, and the Python/C API wrappers have been completely rewritten with the nicer Cython syntax. Tests confirm that the output from planetc exactly matches the output from the original MyFunctions routines, with identical computation time.

See INSTALL for instructions on how to install the package.

About

Routines for implementing the analytic Mandel & Agol (2002) equations for planetary transit lightcurves, using a C backend with Python/Cython wrappers. Can also compute radial velocities for Keplerian orbits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published