Skip to main content

Evolve hierarchical triples

Project description

# Kozai

Kozai is a Python package to evolve hierarchical triples in the secular approximation. Hierarchical triples may be evolved either using the Delaunay formalism (Naoz et al. 2013b) or the vectorial formalism (Katz et al. 2011). The quadrupole, octupole, and hexadecapole terms of the Hamiltonian may be toggled to be included (or not) in the equations of motion. Post-Newtonian terms may also be toggled to include both relativistic precession (PN 1) and gravitational radiation (PN 2.5) using terms from Blaes et al. (2002).

The package provides a TripleDelaunay object which may be integrated using the Delaunay orbital elements and a TripleVectorial which may be integrated using the eccentricity and angular momentum vectors. This allows the integration to occur within the context of an external Python program.

The underlying integrator is from the SciPy ODE package. By default this package uses VODE as its integration algorithm, but the algorithm may be changed to any of the other integration algorithms supported by the SciPy ODE package.

## Installation

The Kozai package is available on PyPI and can be installed with pip:

` pip install kozai `

Or, if you do not have the permissions to run the above:

` pip install --user kozai `

## Dependencies

  • NumPy

  • SciPy

## References

  • Blaes, O., Lee, M.H., & Socrates, A., 2002, ApJ, 578, 775

  • Katz, B., Dong, S., & Malhotra, R., 2011, PhRvL, 107, 181101

  • Naoz, S., Farr, W.M., Lithwick, Y., Rasio, F.A., & Teyssandier, J., 2013b, MNRAS, 431, 2155

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kozai-0.1.4.tar.gz (16.5 kB view details)

Uploaded Source

File details

Details for the file kozai-0.1.4.tar.gz.

File metadata

  • Download URL: kozai-0.1.4.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kozai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a173b405b8f654b4c9afa4114662d9d3fc1cb25f34a09110d8b9ee9275271b41
MD5 ab1168b3e82f86e66df789f6feb6d8f9
BLAKE2b-256 a8c464e2fdef9585973a38d27ce06017d97601fe64231b8f2e2727fa352b093a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page