Skip to main content

# 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 `

## Tutorial

An IPython notebook tutorial is in the docs folder. The tutorial can be also be accessed online [here.][1]

## Dependencies

  • NumPy

  • SciPy

## References

  • [Antognini, 2015, ArXiv 1504.05957][5]

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

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

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

[1]: http://nbviewer.ipython.org/url/www.astronomy.ohio-state.edu/~antognini/kozai_tutorial.ipynb [2]: http://adsabs.harvard.edu/abs/2002ApJ…578..775B [3]: http://adsabs.harvard.edu/abs/2011PhRvL.107r1101K [4]: http://adsabs.harvard.edu/abs/2013MNRAS.431.2155N [5]: http://arxiv.org/abs/1504.05957

Metadata

Release files for kozai 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kozai 0.2.2
File Size Uploaded Provenance Actions
kozai-0.2.2.tar.gz 17.0 kB Without provenance Details for kozai-0.2.2.tar.gz

Release files / kozai-0.2.2.tar.gz

Download URL kozai-0.2.2.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
972500d7e106e899a9f6f75f9b4f6dcf84463e92177c1b3ab162ad09b4df95e3
BLAKE2b-256 checksum
How to use checksums
401d72a54128c4f2ca58e337fc42ff23da9209033bb3605e0b2d9fa7a6df386d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for kozai 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page