All Projects → jobovy → Galpy

jobovy / Galpy

Licence: bsd-3-clause
Galactic Dynamics in python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Galpy

Gala
Galactic and gravitational dynamics in Python
Stars: ✭ 73 (-45.52%)
Mutual labels:  dynamics, physics, astronomy
orbital-sim
A simple physics engine build over a PyGame simulation to accurately model planetary orbits in space
Stars: ✭ 31 (-76.87%)
Mutual labels:  astronomy, physics
NPY-for-Fortran
A FORTRAN module to write Numpy's *.npy and *.npz files
Stars: ✭ 30 (-77.61%)
Mutual labels:  physics, scientific-computing
Yt
Main yt repository
Stars: ✭ 279 (+108.21%)
Mutual labels:  scientific-computing, astronomy
yt astro analysis
yt astrophysical analysis modules
Stars: ✭ 18 (-86.57%)
Mutual labels:  astronomy, scientific-computing
workshop
Workshop: Micromagnetics with Ubermag
Stars: ✭ 19 (-85.82%)
Mutual labels:  physics, scientific-computing
qnm
Python package for computing Kerr quasinormal mode frequencies, separation constants, and spherical-spheroidal mixing coefficients
Stars: ✭ 21 (-84.33%)
Mutual labels:  physics, scientific-computing
Pycbc
Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
Stars: ✭ 177 (+32.09%)
Mutual labels:  physics, astronomy
Core
The core source repository for the Cherab project.
Stars: ✭ 26 (-80.6%)
Mutual labels:  physics, scientific-computing
Spirit
Atomistic Spin Simulation Framework
Stars: ✭ 67 (-50%)
Mutual labels:  physics, scientific-computing
Pydy
Multibody dynamics tool kit.
Stars: ✭ 232 (+73.13%)
Mutual labels:  dynamics, physics
Gdl
GDL - GNU Data Language
Stars: ✭ 104 (-22.39%)
Mutual labels:  scientific-computing, astronomy
Hamiltonian Nn
Code for our paper "Hamiltonian Neural Networks"
Stars: ✭ 229 (+70.9%)
Mutual labels:  dynamics, physics
unity-excavator
Physical simulations on Unity
Stars: ✭ 20 (-85.07%)
Mutual labels:  astronomy, physics
Physac
2D physics header-only library for videogames developed in C using raylib library.
Stars: ✭ 151 (+12.69%)
Mutual labels:  dynamics, physics
elasty
A research-oriented elastic body simulator
Stars: ✭ 173 (+29.1%)
Mutual labels:  physics, dynamics
Awesome Physics
🌌 A collaborative list of awesome software for exploring Physics concepts
Stars: ✭ 154 (+14.93%)
Mutual labels:  physics, scientific-computing
Awesome Scientific Computing
😎 Curated list of awesome software for numerical analysis and scientific computing
Stars: ✭ 476 (+255.22%)
Mutual labels:  physics, scientific-computing
Pyautolens
PyAutoLens: Open Source Strong Gravitational Lensing
Stars: ✭ 90 (-32.84%)
Mutual labels:  physics, astronomy
Espresso
The ESPResSo package
Stars: ✭ 130 (-2.99%)
Mutual labels:  physics, scientific-computing


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.

image image image image image image image image image image image

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.7, 3.8, and 3.9. It should also work on earlier Python 3.* versions, but this is not extensively tested on an ongoing basis and because libraries that galpy depends on are dropping earlier Python 3.* versions, galpy itself likely doesn't fully work on them. GitHub Actions CI builds regularly check support for Python 3.9 (and of 3.7, and 3.8 using a more limited, core set of tests) and Appveyor builds regularly check support for Python 3.9 on Windows. While most of galpy likely works in Python 2.7, this is no longer tested and Python 2.7 is no longer officially 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. Use of SnapshotRZPotential and InterpSnapshotRZPotential requires pynbody. Support for providing inputs and getting outputs as Quantities with units is provided through astropy. Certain parts of the code 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!

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/
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].