.. galpy documentation master file, created by sphinx-quickstart on Sun Jul 11 15:58:27 2010. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. .. ifconfig:: not_on_rtd .. WARNING:: You are looking at the rarely updated, GitHub version of this documentation, **please go to** `galpy.readthedocs.io `_ **for the latest documentation**. Welcome to galpy's documentation ================================= `galpy `__ is a Python package for galactic dynamics. It supports orbit integration in a variety of potentials, evaluating and sampling various distribution functions, and the calculation of action-angle coordinates for all static potentials. galpy is an `astropy `_ `affiliated package `_ and provides full support for astropy's `Quantity `_ framework for variables with units. galpy is developed on GitHub. If you are looking to `report an issue `_, `join `_ the `galpy slack `_ community, or for information on how to `contribute to the code `_, please head over to `galpy's GitHub page `_ for more information. As a preview of the kinds of things you can do with galpy, here's a video introducing some of the new features in galpy v1.5: .. raw:: html Quick-start guide ----------------- .. toctree:: :maxdepth: 2 installation.rst whatsnew.rst getting_started.rst potential.rst orbit.rst basic_df.rst actionAngle.rst diskdf.rst streamdf.rst Library reference ----------------- .. toctree:: :maxdepth: 2 reference/orbit.rst reference/potential.rst reference/aa.rst reference/df.rst reference/util.rst Acknowledging galpy -------------------- If you use galpy in a publication, please cite the following paper * *galpy: A Python Library for Galactic Dynamics*, Jo Bovy (2015), *Astrophys. J. Supp.*, **216**, 29 (`arXiv/1412.3451 `_). and link to ``http://github.com/jobovy/galpy``. Some of the code's functionality is introduced in separate papers: * ``galpy.actionAngle.EccZmaxRperiRap`` and ``galpy.orbit.Orbit`` methods with ``analytic=True``: Fast method for computing orbital parameters from :ref:`this section `: please cite `Mackereth & Bovy (2018) `__. * ``galpy.actionAngle.actionAngleAdiabatic``: please cite `Binney (2010) `__. * ``galpy.actionAngle.actionAngleStaeckel``: please cite `Bovy & Rix (2013) `__ and `Binney (2012) `__. * ``galpy.actionAngle.actionAngleIsochroneApprox``: please cite `Bovy (2014) `__. * ``galpy.df.streamdf``: please cite `Bovy (2014) `__. * ``galpy.df.streamgapdf``: please cite `Sanders, Bovy, & Erkal (2016) `__. * ``galpy.potential.ttensor`` and ``galpy.potential.rtide``: please cite `Webb et al. (2019a) `__. * ``galpy.potential.to_amuse``: please cite `Webb et al. (2019b) `_. Please also send me a reference to the paper or send a pull request including your paper in the list of galpy papers on this page (this page is at doc/source/index.rst). Thanks! Papers using galpy -------------------- .. raw:: html

galpy has been used in more than 200 scientific publications in the astrophysical literature. Covering topics as diverse as the properties of planetary systems around distant stars, the kinematics of pulsars and stars ejected from the Milky Way by supernova explosions, binary evolution in stellar clusters, chemo-dynamical modeling of stellar populations in the Milky Way, and the dynamics of satellites around external galaxies, galpy is widely used throughout astrophysics.

Check out the gallery below for examples:

Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`