Skip to main content

Galactic Dynamics in python

Project description

Galactic Dynamics in python

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!

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/

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

galpy-1.4.1.tar.gz (412.1 kB view details)

Uploaded Source

Built Distributions

galpy-1.4.1-cp37-cp37m-win_amd64.whl (718.2 kB view details)

Uploaded CPython 3.7m Windows x86-64

galpy-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl (747.5 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

galpy-1.4.1-cp36-cp36m-win_amd64.whl (718.2 kB view details)

Uploaded CPython 3.6m Windows x86-64

galpy-1.4.1-cp36-cp36m-macosx_10_7_x86_64.whl (756.7 kB view details)

Uploaded CPython 3.6m macOS 10.7+ x86-64

galpy-1.4.1-cp35-cp35m-macosx_10_9_x86_64.whl (748.5 kB view details)

Uploaded CPython 3.5m macOS 10.9+ x86-64

galpy-1.4.1-cp27-cp27m-macosx_10_9_x86_64.whl (748.5 kB view details)

Uploaded CPython 2.7m macOS 10.9+ x86-64

File details

Details for the file galpy-1.4.1.tar.gz.

File metadata

  • Download URL: galpy-1.4.1.tar.gz
  • Upload date:
  • Size: 412.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.17.3 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1.tar.gz
Algorithm Hash digest
SHA256 ac43051eebe3025ba35cfcae2eaccff9dbcd5764d3c265161881755033f27647
MD5 f7d5bf5b4d7c963379a89c35ca8acafc
BLAKE2b-256 8330cccc774178335866892f3b2aee9f163edf3a47abc4f4c247d2c8f4d15827

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 718.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 616cb46c53337af458101361a468884217275a66ab915dedff9bfd76c27818b2
MD5 8e73def0ba84d68e18f2efcd061864e0
BLAKE2b-256 c8ad6384bf7b485350b3325c5ed76fc61f3cb970375377eb13bd474261dcfb4d

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 747.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7dd0d172165790ca113fb17028dd87bd75189baa8f417d828a15ced13cd040d5
MD5 33ed71156eb66d2114ab8a5fb6624d4d
BLAKE2b-256 4536c6ddeb00c4b17192538b2706d77fb7a7c0cc99561d2c792e77384fe9c5e5

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 718.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3783261e73d65fd9b0726fd2d8b6ca67f056a6baed0b3d185daac4961ffd6de0
MD5 21ab1627efb4c6646be0dbced7b3d7cd
BLAKE2b-256 95e6234de8608551abbe25e272c1eebb5caee4263248daeef2699dd4c02cebd2

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 756.7 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.17.3 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 d7a97a7c13a321cd091c3f7642ce31b1b0501e09ea0eb0dabf3f6397d791f4c6
MD5 ebefb6f8371ed1a18015068ec89d9f79
BLAKE2b-256 5fbb230cba947fef701524f9f5294bf8a3ab0edc81c0678d8c3d9f611518bba5

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 748.5 kB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.17.3 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 390c74a2e69f2596385a581e95c9bbbfafaaeea66990636883a24e2156bbf7fc
MD5 3a17b507d5e6c6d3d72e7ce77ef7c1cf
BLAKE2b-256 c18b7fa436d6fbd2ee19b9e75477a3cef074300f7fe4ad25ef36dad8ffd76a24

See more details on using hashes here.

File details

Details for the file galpy-1.4.1-cp27-cp27m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: galpy-1.4.1-cp27-cp27m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 748.5 kB
  • Tags: CPython 2.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.17.3 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.5.3

File hashes

Hashes for galpy-1.4.1-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 13757f21d6f30b83c50834ec97da011137b22f6a1b3b50c954d047c28fb0b8a4
MD5 3e61d3911ac839e83940e88e184fc239
BLAKE2b-256 f7646ddf032a60aeabf805a10b97b7321dabaac36ec21a7170866b1d0f628d84

See more details on using hashes here.

Supported by

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