Galactic Dynamics in python
Clone or download
Latest commit a14bc75 Oct 10, 2018
Permalink
Failed to load latest commit information.
doc Some new papers [ci skip] Oct 10, 2018
galpy Explicitly test whether a planarPotential is given to toVerticalPoten… Oct 8, 2018
nemo version of Makefile and PowSphwCut that compiles [ci skip] Dec 18, 2014
tests Explicitly test whether a planarPotential is given to toVerticalPoten… Oct 8, 2018
.appveyor.yml Add astropy conda channel for astroquery Jul 10, 2018
.coveragerc Also make galpy.snapshot a proper subpackage, because you never know... Jul 21, 2018
.coveragerc_travis Also make galpy.snapshot a proper subpackage, because you never know... Jul 21, 2018
.generate_lcov.sh much simpler lcov script with single_ext Aug 15, 2014
.gitignore Make galpy.df a proper subpackage, by moving galpy/df_src/ --> galpy/… Jul 20, 2018
.travis.yml Download and fix the codecov uploader before running it (see codecov/… Oct 8, 2018
AUTHORS.txt Add Samuel to AUTHORS Sep 8, 2018
CONTRIBUTING.md Add contributing guide as file in repository [ci skip] Aug 30, 2017
HISTORY.txt Edit HISTORY entry for 1D orbit integration in C Oct 8, 2018
LICENSE Tweak the LICENSE text to make it an exact match to BSD 3-clause (w/o… Oct 8, 2018
MANIFEST.in Make galpy.potential a proper subpackage, by moving galpy/potential_s… Jul 21, 2018
README.dev Some notes about 1D potentials in the dev README Oct 8, 2018
README.nemo rudimentary instructions on how to add a new NEMO potential Dec 18, 2014
README.rst Edit badge [ci skip] Aug 16, 2018
RELEASE_CHECKLIST.md Create RELEASE_CHECKLIST [ci skip] Sep 10, 2018
gsl-config.bat Add simple Windows version of gsl-config Feb 26, 2018
setup.py Bump development version number [ci skip] Sep 10, 2018

README.rst

galpy

Galactic Dynamics in python

https://travis-ci.org/jobovy/galpy.svg?branch=master https://ci.appveyor.com/api/projects/status/wmgs1sq3i7tbtap2/branch/master?svg=true http://codecov.io/github/jobovy/galpy/coverage.svg?branch=master https://readthedocs.org/projects/galpy/badge/?version=latest http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat https://img.shields.io/badge/join-slack-E01563.svg?style=flat&logo=slack&logoWidth=10

AUTHOR

Jo Bovy - bovy at astro dot utoronto dot ca

See AUTHORS.txt for a full list of contributors.

If you find this code useful in your research, please let me know. If you use galpy in a publication, please cite Bovy (2015) and link to http://github.com/jobovy/galpy. See the acknowledgement documentation section for a more detailed guide to citing parts of the code. 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!

LOOKING FOR HELP?

The latest documentation can be found here. You can also join the galpy slack community for any questions related to galpy; join here.

If you find any bug in the code, please report these using the Issue Tracker or by joining the galpy slack community.

If you are having issues with the installation of galpy, please first consult the Installation FAQ.

PYTHON VERSIONS AND DEPENDENCIES

galpy supports both Python 2 and 3. Specifically, galpy supports Python 2.7 and Python 3.5 and 3.6. It may also work on earlier Python 3.* versions, but this has not been extensively tested. Travis CI builds regularly check support for Python 2.7 and 3.6 (and of 3.5 using a limited set of tests).

This package requires Numpy, Scipy, and Matplotlib. Certain advanced features require the GNU Scientific Library (GSL), with action calculations requiring version 1.14 or higher. Use of SnapshotRZPotential and InterpSnapshotRZPotential requires pynbody. Support for providing inputs and getting outputs as Quantities with units is provided through astropy.

CONTRIBUTING TO GALPY

If you are interested in contributing to galpy's development, take a look at this brief guide on the wiki. This will hopefully help you get started!

Some further development notes can be found on the wiki. This includes a list of small and larger extensions of galpy that would be useful here as well as a longer-term roadmap here. Please let the main developer know if you need any help contributing!

DETAILED BUILD, COVERAGE, AND DOCUMENTATION STATUS

master:

https://travis-ci.org/jobovy/galpy.svg?branch=master http://codecov.io/github/jobovy/galpy/coverage.svg?branch=master https://readthedocs.org/projects/galpy/badge/?branch=master?version=latest

development branch (if it exists):

https://travis-ci.org/jobovy/galpy.svg?branch=dev https://img.shields.io/coveralls/jobovy/galpy.svg?branch=dev http://codecov.io/github/jobovy/galpy/coverage.svg?branch=dev https://readthedocs.org/projects/galpy/badge/?branch=master?version=latest

DISK DF CORRECTIONS

The dehnendf and shudf disk distribution functions can be corrected to follow the desired surface-mass density and radial-velocity-dispersion profiles more closely (see 1999AJ....118.1201D). Calculating these corrections is expensive, and a large set of precalculated corrections can be found here [tar.gz archive]. Install these by downloading them and unpacking them into the galpy/df/data directory before running the setup.py installation. E.g.:

curl -O https://github.s3.amazonaws.com/downloads/jobovy/galpy/galpy-dfcorrections.tar.gz
tar xvzf galpy-dfcorrections.tar.gz -C ./galpy/df/data/