Galactic Dynamics in python
Project description
Galactic Dynamics in python
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.6 and 3.7. It should also work on earlier Python 3.* versions, but this is not extensively tested on an ongoing basis. Travis CI builds regularly check support for Python 2.7 and 3.7 (and of 3.6 using a more limited, core set of tests) and Appveyor builds regularly check support for Python 3.7 on Windows.
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
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
File details
Details for the file galpy-1.5.tar.gz
.
File metadata
- Download URL: galpy-1.5.tar.gz
- Upload date:
- Size: 443.4 kB
- Tags: Source
- 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.34.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80137c3d1918706c7e93a7a7f8872909295b8d2e93f00a2ab419ab6d6ef58be2 |
|
MD5 | aff0a673d498b1b8c4739b6036452536 |
|
BLAKE2b-256 | b3f008b1b2b49ab6a323e2eb34c306aba2aee4e54d0d5b1a7cc41ae94e0a6111 |