Gala is a Python package for Galactic and gravitational dynamics.

Galactic Dynamics is the study of the formation, history, and evolution of galaxies using the orbits of objects — numerically-integrated trajectories of stars, dark matter particles, star clusters, or galaxies themselves.

Installation and Dependencies

The easiest way to get Gala is to install with conda or pip.

If you are on Linux or Mac, you can install with conda using the conda-forge channel:

conda install gala --channel conda-forge

If you prefer pip, or if you are on Windows, you can also install using pip:

pip install gala

See the installation instructions in the documentation for more information.


If you make use of this code, please cite the JOSS paper:

  doi = {10.21105/joss.00388},
  url = {},
  year = 2017,
  month = {oct},
  publisher = {The Open Journal},
  volume = {2},
  number = {18},
  author = {Adrian M. Price-Whelan},
  title = {Gala: A Python package for galactic dynamics},
  journal = {The Journal of Open Source Software}

Please also consider citing the Zenodo DOI DOI as a software citation:

  author       = {Adrian Price-Whelan and
                  Brigitta Sipőcz and
                  Daniel Lenz and
                  Johnny Greco and
                  Syrtis Major and
                  Sergey Koposov and
                  Semyeong Oh and
                  P. L. Lim},
  title        = {adrn/gala: v1.3},
  month        = oct,
  year         = 2020,
  publisher    = {Zenodo},
  version      = {v1.3},
  doi          = {10.5281/zenodo.4159870},
  url          = {}