|
| 1 | +--- |
| 2 | +title: 'Gala: A Python package for galactic dynamics' |
| 3 | +tags: |
| 4 | + - Python |
| 5 | + - astronomy |
| 6 | + - dynamics |
| 7 | + - galactic dynamics |
| 8 | + - milky way |
| 9 | +authors: |
| 10 | + - name: Adrian M. Price-Whelan |
| 11 | + orcid: 0000-0000-0000-0000 |
| 12 | + equal-contrib: true |
| 13 | + affiliation: "1, 2" # (Multiple affiliations must be quoted) |
| 14 | + - name: Author Without ORCID |
| 15 | + equal-contrib: true # (This is how you can denote equal contributions between multiple authors) |
| 16 | + affiliation: 2 |
| 17 | + - name: Author with no affiliation |
| 18 | + corresponding: true # (This is how to denote the corresponding author) |
| 19 | + affiliation: 3 |
| 20 | +affiliations: |
| 21 | + - name: Lyman Spitzer, Jr. Fellow, Princeton University, USA |
| 22 | + index: 1 |
| 23 | + - name: Institution Name, Country |
| 24 | + index: 2 |
| 25 | + - name: Independent Researcher, Country |
| 26 | + index: 3 |
| 27 | +date: 13 August 2017 |
| 28 | +bibliography: paper.bib |
| 29 | + |
| 30 | +# Optional fields if submitting to a AAS journal too, see this blog post: |
| 31 | +# https://blog.joss.theoj.org/2018/12/a-new-collaboration-with-aas-publishing |
| 32 | +aas-doi: 10.3847/xxxxx <- update this with the DOI from AAS once you know it. |
| 33 | +aas-journal: Astrophysical Journal <- The name of the AAS journal. |
| 34 | +--- |
| 35 | + |
| 36 | +# Summary |
| 37 | + |
| 38 | +The forces on stars, galaxies, and dark matter under external gravitational |
| 39 | +fields lead to the dynamical evolution of structures in the universe. The orbits |
| 40 | +of these bodies are therefore key to understanding the formation, history, and |
| 41 | +future state of galaxies. The field of "galactic dynamics," which aims to model |
| 42 | +the gravitating components of galaxies to study their structure and evolution, |
| 43 | +is now well-established, commonly taught, and frequently used in astronomy. |
| 44 | +Aside from toy problems and demonstrations, the majority of problems require |
| 45 | +efficient numerical tools, many of which require the same base code (e.g., for |
| 46 | +performing numerical orbit integration). |
| 47 | + |
| 48 | +# Statement of need |
| 49 | + |
| 50 | +`Gala` is an Astropy-affiliated Python package for galactic dynamics. Python |
| 51 | +enables wrapping low-level languages (e.g., C) for speed without losing |
| 52 | +flexibility or ease-of-use in the user-interface. The API for `Gala` was |
| 53 | +designed to provide a class-based and user-friendly interface to fast (C or |
| 54 | +Cython-optimized) implementations of common operations such as gravitational |
| 55 | +potential and force evaluation, orbit integration, dynamical transformations, |
| 56 | +and chaos indicators for nonlinear dynamics. `Gala` also relies heavily on and |
| 57 | +interfaces well with the implementations of physical units and astronomical |
| 58 | +coordinate systems in the `Astropy` package [@astropy] (`astropy.units` and |
| 59 | +`astropy.coordinates`). |
| 60 | + |
| 61 | +`Gala` was designed to be used by both astronomical researchers and by |
| 62 | +students in courses on gravitational dynamics or astronomy. It has already been |
| 63 | +used in a number of scientific publications [@Pearson:2017] and has also been |
| 64 | +used in graduate courses on Galactic dynamics to, e.g., provide interactive |
| 65 | +visualizations of textbook material [@Binney:2008]. The combination of speed, |
| 66 | +design, and support for Astropy functionality in `Gala` will enable exciting |
| 67 | +scientific explorations of forthcoming data releases from the *Gaia* mission |
| 68 | +[@gaia] by students and experts alike. |
| 69 | + |
| 70 | +# Mathematics |
| 71 | + |
| 72 | +Single dollars ($) are required for inline mathematics e.g. $f(x) = e^{\pi/x}$ |
| 73 | + |
| 74 | +Double dollars make self-standing equations: |
| 75 | + |
| 76 | +$$\Theta(x) = \left\{\begin{array}{l} |
| 77 | +0\textrm{ if } x < 0\cr |
| 78 | +1\textrm{ else} |
| 79 | +\end{array}\right.$$ |
| 80 | + |
| 81 | +You can also use plain \LaTeX for equations |
| 82 | +\begin{equation}\label{eq:fourier} |
| 83 | +\hat f(\omega) = \int_{-\infty}^{\infty} f(x) e^{i\omega x} dx |
| 84 | +\end{equation} |
| 85 | +and refer to \autoref{eq:fourier} from text. |
| 86 | + |
| 87 | +# Citations |
| 88 | + |
| 89 | +Citations to entries in paper.bib should be in |
| 90 | +[rMarkdown](http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html) |
| 91 | +format. |
| 92 | + |
| 93 | +If you want to cite a software repository URL (e.g. something on GitHub without a preferred |
| 94 | +citation) then you can do it with the example BibTeX entry below for @fidgit. |
| 95 | + |
| 96 | +For a quick reference, the following citation commands can be used: |
| 97 | +- `@author:2001` -> "Author et al. (2001)" |
| 98 | +- `[@author:2001]` -> "(Author et al., 2001)" |
| 99 | +- `[@author1:2001; @author2:2001]` -> "(Author1 et al., 2001; Author2 et al., 2002)" |
| 100 | + |
| 101 | +# Figures |
| 102 | + |
| 103 | +Figures can be included like this: |
| 104 | + |
| 105 | +and referenced from text using \autoref{fig:example}. |
| 106 | + |
| 107 | +Figure sizes can be customized by adding an optional second parameter: |
| 108 | +{ width=20% } |
| 109 | + |
| 110 | +# Acknowledgements |
| 111 | + |
| 112 | +We acknowledge contributions from Brigitta Sipocz, Syrtis Major, and Semyeong |
| 113 | +Oh, and support from Kathryn Johnston during the genesis of this project. |
| 114 | + |
| 115 | +# References |
0 commit comments