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.10 (and of 3.8, and 3.9 using a more limited, core set of tests)
on Linux and Windows (and 3.10 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 requiresastroquery
. - 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
requireJAX
. - Use of
SnapshotRZPotential
andInterpSnapshotRZPotential
requirespynbody
.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file galpy-1.9.0.tar.gz
.
File metadata
- Download URL: galpy-1.9.0.tar.gz
- Upload date:
- Size: 849.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f454259f1cb77c3c21265e0214b7dfecdde1486d59318d3b65dba912f4d77128 |
|
MD5 | cf81736d73aec2c94f0f6f729830918b |
|
BLAKE2b-256 | 1b1c2ea110267578374abfada7ec8315f36ca860c0a60e241a0111624db89d9f |
File details
Details for the file galpy-1.9.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 800.4 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c57b806729d9982cf02f553927f3676800271209ccb3e8b1069cdd958821ed |
|
MD5 | e6b6df3dc7d1e27570bcd4353ec25195 |
|
BLAKE2b-256 | da04cd6ce711b9a45d38a46f78abe08e325315d2ef6afbfaf32efe4912cf7658 |
File details
Details for the file galpy-1.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7afaa9b56a541545231fee0cea7cb64f82f99adb972b7aaa5ad90fead9335bb0 |
|
MD5 | bf61b7ee98bb7748beeec932721ebdd5 |
|
BLAKE2b-256 | 2ace286a27d04aef2fe22fda530a3db5df1104772c5f60555d0f455771951cfb |
File details
Details for the file galpy-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c33078b1b698acba7ef1594ac7613ebced8ac5b2b9d236b77b31f7305232f7c |
|
MD5 | c36aeef3aa15e6fa91eccdb735cd3796 |
|
BLAKE2b-256 | da2bc9a8a003e6c073dbca7b9d97caa6b7fb027be626dc5b98c259fb5e85489d |
File details
Details for the file galpy-1.9.0-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 16.7 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce3f38ef90c9fbb4035b789266a7a98af8f95db51ea08c62a861c7f11cd34acb |
|
MD5 | ee742facfd2b58f6f0f3376912941f34 |
|
BLAKE2b-256 | 48c8cd9d2318352f33645ddfc1ab1e3fc6f0385c6aa8259c4ad47177d5e9f0ef |
File details
Details for the file galpy-1.9.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 800.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3707a7917e01f3016f13c4572ccaa96330948c037cfe00355fcf27662a3cf383 |
|
MD5 | dfd92f38206c4f3e7e87fa4d04cafc63 |
|
BLAKE2b-256 | 0a011ccf07d7fcbef160b723959a1165ad9f136725dc31763803a1fddebdc441 |
File details
Details for the file galpy-1.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eaa21b8a1dc17e68af687ea457913afc67edfce2fb5ae2cc3a895aa896d6fca |
|
MD5 | d8ab85baeb1a8d6e8517cfb100fd8865 |
|
BLAKE2b-256 | b26006269d820d5bad12ceec280209b5bc0b5358dae2e7cd336b5c35ae320836 |
File details
Details for the file galpy-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | facd132e7b55434ef01aab04cf1a818a9db9db23f43ba98fa7243fb6dc016088 |
|
MD5 | 9e8e79b04ce6f664ee9b9a6c8595fcf0 |
|
BLAKE2b-256 | 9c7c3b79275a2e00f54749c0a40ef95678c2bc176bf3687190a1da31a0d67855 |
File details
Details for the file galpy-1.9.0-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 16.7 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7433a907978d1ef21772ccd97b0e047f9bba119c1c9d81a19a5749b533bb20a |
|
MD5 | e571ff7da36e108a8c6766db92086d8d |
|
BLAKE2b-256 | ad165ec255e10123865ac8ca14bafa816c2b1da3fe4548ddc7428fe3e661c60a |
File details
Details for the file galpy-1.9.0-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 800.4 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf21eeb6ab7be9d1a2ec8505a9df02d90c908ca0f643929097aff3059a9e62d4 |
|
MD5 | 839850d0a8186be98da3abeb1ae53e9c |
|
BLAKE2b-256 | bc1e1cbd48436771c1cd7d7273cf3c3e2709d184788ad34744fa920f8b8ab4f9 |
File details
Details for the file galpy-1.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f352801f1b98afe8062a6ae1bb8ba5c8c3dd5d52ca1db05a2bd0aa4628d3ff |
|
MD5 | 292b6255c1a29986de795a48cd1fa7f4 |
|
BLAKE2b-256 | dd2b7b13017972abcf96d9e0239167191ede812a2917b55c9292d9676d42b9e9 |
File details
Details for the file galpy-1.9.0-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06dc03319f0a29c9b7c357d8812a29fb8d869dafc0e235933a4aa92fdda8b5d3 |
|
MD5 | fdaf0321b273b4cbaad26dab04ead105 |
|
BLAKE2b-256 | 1e76de708ac4f3528b22d24b2c5e876a5aacf0b838707e2f98e222c1c2512e7e |
File details
Details for the file galpy-1.9.0-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 16.7 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9862f07882bca6fe1f77f5f4887096c4d2aa25baf09c6f167c85643df8d4d9 |
|
MD5 | f0aa62dd249b40906a22f22b08e746ba |
|
BLAKE2b-256 | c39873756949dd6c8326ea3c07f4dc54598c61983fe0878b5cc6be42cac19b15 |
File details
Details for the file galpy-1.9.0-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 800.4 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce46d4e161d4a2798ccae11c4e7c91da351857d2c6b3918c457973921f3d5a92 |
|
MD5 | d7e32e65d0ed4ab6b0e88ecba8206767 |
|
BLAKE2b-256 | b6281d9477962b59d7416194508e4c3f425fb9f348ca4526ca51215cbeb5d9d2 |
File details
Details for the file galpy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54fab8dc06cb109ca1c347ea3ee1588acae9317fc6f15ca8420f33ad1214982 |
|
MD5 | 7fd7972b952d53f9cf10b9e515790962 |
|
BLAKE2b-256 | 1af80c2e28d8f77f40e5ecef368c4b95d0bb866a959dae1f9eb7a09bb08aade4 |
File details
Details for the file galpy-1.9.0-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca601038ed05c921306e1fc991c180c7c5bb2433ef93e6926a72b581f5bd38c1 |
|
MD5 | b3590eb1c2b61c9b728c4323c694405c |
|
BLAKE2b-256 | a2a5693377d5a220433392aa9a667cda4e9b2312f173c14de58dbe820ef0de70 |
File details
Details for the file galpy-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: galpy-1.9.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 16.7 MB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21592bdf8058821bee0018d6b01cd57ab9bfa5cda6785da68ce87bb97ea08473 |
|
MD5 | 80de5fde747cb1f1f75cd19f42428c75 |
|
BLAKE2b-256 | 1322b7eb9f84309131383ce35b4b04a1558bbeefc0e9701bb210bd794a2f8370 |