Skip to main content

Galactic Dynamics in python

Project description

Galactic Dynamics in python

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.

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. 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 Python 3. Specifically, galpy supports Python 3.8, 3.9, 3.10, and 3.11. GitHub Actions CI builds regularly check support for Python 3.11 (and of 3.8, 3.9, and 3.11 using a more limited, core set of tests) on Linux and Windows (and 3.11 on Mac OS). Python 2.7 is no longer supported.

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. Other optional dependencies include:

  • Support for providing inputs and getting outputs as Quantities with units is provided through astropy.
  • Querying SIMBAD for the coordinates of an object in the Orbit.from_name initialization method requires astroquery.
  • Displaying a progress bar for certain operations (e.g., orbit integration of multiple objects at once) requires tqdm.
  • Plotting arbitrary functions of Orbit attributes requires numexpr.
  • Speeding up the evaluation of certain functions in the C code requires numba.
  • Constant-anisotropy DFs in galpy.df.constantbetadf require JAX.
  • Use of SnapshotRZPotential and InterpSnapshotRZPotential requires pynbody.

Other parts of the code may require additional packages and you will be alerted by the code if they are not installed.

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!

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.9.2.tar.gz (859.7 kB view details)

Uploaded Source

Built Distributions

galpy-1.9.2-cp312-cp312-win_amd64.whl (804.2 kB view details)

Uploaded CPython 3.12 Windows x86-64

galpy-1.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

galpy-1.9.2-cp312-cp312-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

galpy-1.9.2-cp312-cp312-macosx_10_9_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

galpy-1.9.2-cp311-cp311-win_amd64.whl (804.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

galpy-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

galpy-1.9.2-cp311-cp311-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

galpy-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

galpy-1.9.2-cp310-cp310-win_amd64.whl (804.2 kB view details)

Uploaded CPython 3.10 Windows x86-64

galpy-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

galpy-1.9.2-cp310-cp310-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

galpy-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

galpy-1.9.2-cp39-cp39-win_amd64.whl (804.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

galpy-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

galpy-1.9.2-cp39-cp39-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

galpy-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

galpy-1.9.2-cp38-cp38-win_amd64.whl (804.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

galpy-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

galpy-1.9.2-cp38-cp38-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

galpy-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl (17.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: galpy-1.9.2.tar.gz
  • Upload date:
  • Size: 859.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2.tar.gz
Algorithm Hash digest
SHA256 cf13e166b046e07cdcc663acf5412dd2f2649a5ae06985ee040f109325a92e5a
MD5 844b300bc57e9ead0190abc9552b0084
BLAKE2b-256 7c78884c468c43679ee6f3d59d14773677aa0095dde13be0cdb9c8aafb07affd

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: galpy-1.9.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 804.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b737ac4b00c36e0cdb3fe403aecec6c456eafceccc59edb5f59b632d0ab1a99e
MD5 5d6051199aefae8345c34be213a37173
BLAKE2b-256 69ca5b8dcbd95fbec93a38cc4644afdd80d99b0cb3d74bc9d3a101af6db069b8

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23582c9f89676575ce3808fa387f941980846502053a45e0bba1b4c4422c963a
MD5 41c3ace250adb9ce867b66b4116ec1e9
BLAKE2b-256 b260a2570e781bcfcdc86ecf54375f8b19e4ed2420178dbc98fcf1a568558500

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e7e4f2cd8e2594b8fdede60ae68806f9bf01ed614d5d5a1f71c25f6003e2bc9e
MD5 49a4ae97f75161e17a6b689dbb549f53
BLAKE2b-256 3314c9724daf681b63f6fa48663c83e5701250afb02c1cc6c5470ae329f7459e

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 284c024f381c629913bf8fd400e09c847e77798109fa36697cd11e5212188996
MD5 e15f007f4fb8a113f8fa1e2550b50935
BLAKE2b-256 c15206acfbbcab1282cd9aac00a67f5ba3c3bdbae994c5f9fe41af435099a53f

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: galpy-1.9.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 804.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 538df19774cdbb03909b310118dd009d9d7067adb9cef72ecc044f8928976955
MD5 e325a3bd03089e3d8ea67b517f4cbbb4
BLAKE2b-256 4722c3834f5a40ad20a87231b5fd7605cb7300db3ad9fd48f050755c124b8489

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e94100b7d66a1fe6b1c4c236824e36db4fa69fff93d640810d3cdf17b2cb731
MD5 66480c831e29873489f8c89f3e46d68d
BLAKE2b-256 f72f6dda6754ce8002349998406a037411daa92fef9a25f15f5234445611f37f

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce07a990dd95168bbf76b3d19b0e9d155822ae5f0ef744ccf7604535d0b6c3cd
MD5 4c8b98dca490bab7d7b9c6a8085b9dae
BLAKE2b-256 4c2337fc9ab20fbd453ad542921ff3abec5b64c6c6c39e4ebc139fd51b362422

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7f1d558cbf0da262abe5de50461ed4249ef8e8464f3c581d4fd79f285423f3b0
MD5 af4bdb67d44c3d96226d65d8dd242fe6
BLAKE2b-256 ef75ca69dd09faa088fa717a9f5f69ec402bd5de0a1e1958020aff9f50d3f07a

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: galpy-1.9.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 804.2 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 10ab0ac46222c76c02e59160af8abf194c9cddc68b1230faf592d832d44c0e8c
MD5 c24175aad1c759f8027dac82500f5c91
BLAKE2b-256 8106c22349bbd31ff56bb0e43faf70fae8df058f91a8c3dd0fd6bffb5f9f2622

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce2e599438fa0a2f2a3d0dad2880015482a28c0c1f60ab6a2faa1534d17aa0f3
MD5 62e28e2b532ec5952031e239ce488ac6
BLAKE2b-256 33f6ef24f10f72b7eb13d91e0d1cd9dc7df707d369af50ce20d2696fd935366e

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4a7195d625d7bd6d8bed488592bf4515b8f172984bf614e07977ec4b7de1a1f
MD5 5b6007db8e75741683bfd997f7a96229
BLAKE2b-256 a5b2a76db0fba197bc2481038b07a190fc3669151aed8197813453f4ac45eb6f

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 31d0c5e1717ecf328ce0d1514650f68e6670f2169f06eff66f495f6dd31a9edf
MD5 ef3bf64af52b2b5d25f6f8d9c2e59fc4
BLAKE2b-256 375a79cdecbb96012a7658daae13e5d43ff7bd65d75417d4fca72eaa1c6b54e4

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: galpy-1.9.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 804.2 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2912ba0bc334a3b64aaccb490fe2c409c953e453db031bffbf20fb6692da6a96
MD5 25772d477419de479efe12e522996c61
BLAKE2b-256 2bba0e8dd3d58650fca18072bdfa704aeea2b8d3286cf0d90d62eb9dfba896de

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ebbb38948ee24f3d02b053d88fa816327f261aaba3b2e5f23cb6f19f28daa13c
MD5 2787c159bd2579917a98d9767a3f1ef7
BLAKE2b-256 d9f9f7440f559a5a86dcbfaec91a8047a11d7f130a25c9da5a208d820415cc47

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a395952815a8776dd78932dee645d4ad88cb97c6621eb4a50b9651bb1dbf840c
MD5 b0b8a5b810f747952b47cf6a872d5c44
BLAKE2b-256 5de70d43a6fe92db3196d4486c40f9700e95225e3c4baad19a17d7ba2eed98fb

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f556fa2e96d1f3d3ec4e4aa1d36251597556b87e6c53929974ed552f5172da1f
MD5 a5b2aebc5719779b7b236495b31dc44c
BLAKE2b-256 3f3fc0b4c0171a5264ecd84d439cf7a0bdd6c591e44262f440e05a7518cbb632

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: galpy-1.9.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 804.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for galpy-1.9.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 d776ce9243ab6e879526acb67ed07279bda6aa09318b0596a2b9c715faaa9ad3
MD5 735e3f6ea35ba21574fd8d3e9ba7f399
BLAKE2b-256 ea7f5e5da236641b635eb14f67891f9ccab584f06a9e805117c07193614a68d9

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e20144f9b8c836d23b76544f5c9cae28ebb47080a7d61c80474f7fa20ec771a
MD5 95250e170e9af5b2243d233d4d71442c
BLAKE2b-256 f6c218d62032b65bea9fda34ac87b92747ec3159e44c821b949acbbc58fd88f5

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37e693cb5fbb93cda3a98281e336d6e7768adaae119aa89694df8576571e4773
MD5 c8da493aa1a8dd530c45ca66ef047e20
BLAKE2b-256 809153af265d38c183c15cce1e9a45ae536fd4f6172e3e985ab75e56a6aef274

See more details on using hashes here.

File details

Details for the file galpy-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for galpy-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cc32eb8ec08183898fa7e401f10d1698c954d31356803518ba47f0ab803299a8
MD5 2e42635f24f2e642eb3bbce5fa76defa
BLAKE2b-256 a99062a9cd712dd31efd835bef2671fd24a6a32e34435d98d66c8df9c021d2c3

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