galpy: A python LIBRARY FOR GALACTIC DYNAMICS
Open accessThe DOI matches its Crossref record; 38 of the 38 references it cites were found in a registry or an index.
Abstract
I describe the design, implementation, and usage of galpy , a python package for galactic-dynamics calculations. At its core, galpy consists of a general framework for representing galactic potentials both in python and in C (for accelerated computations); galpy functions, objects, and methods can generally take arbitrary combinations of these as arguments. Numerical orbit integration is supported with a variety of Runge–Kutta-type and symplectic integrators. For planar orbits, integration of the phase-space volume is also possible. galpy supports the calculation of action–angle coordinates and orbital frequencies for a given phase-space point for general spherical potentials, using state-of-the-art numerical approximations for axisymmetric potentials, and making use of a recent general approximation for any static potential. A number of different distribution functions (DFs) are also included in the current release; currently, these consist of two-dimensional axisymmetric and non-axisymmetric disk DFs, a three-dimensional disk DF, and a DF framework for tidal streams. I provide several examples to illustrate the use of the code. I present a simple model for the Milky Way's gravitational potential consistent with the latest observations. I also numerically calculate the Oort functions for different tracer populations of stars and compare them to a new analytical approximation. Additionally, I characterize the response of a kinematically warm disk to an elliptical m = 2 perturbation in detail. Overall, galpy consists of about 54,000 lines, including 23,000 lines of code in the module, 11,000 lines of test code, and about 20,000 lines of documentation. The test suite covers 99.6% of the code. galpy is available at http://github.com/jobovy/galpy with extensive documentation available at http://galpy.readthedocs.org/en/latest .
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
A Universal Density Profile from Hierarchical Clustering
Navarro, J. F., Frenk, C. S., & White, S. D. M. (1997) · The Astrophysical Journal · doi:10.1086/304888 · Cited by 9,917 · cited 1×
“For example, galpy.potential contains a Navarro–Frenk–White potential (NFW; Navarro et al. 1997), which can be imported and used as This initialization is explained further below.”
BackgroundThe cosmological simulation code gadget-2
Springel, V. (2005) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2005.09655.x · Cited by 6,368 · cited 1×
“…many good textbooks are devoted to the topic (e.g., Binney & Tremaine 2008), very few software tools designed to aid in galactic-dynamics computations are currently available (with the notable exception of N-body codes, for which there are many publicly accessible packages, e.g., Springel 2005).”
BackgroundA Universal Density Profile from Hierarchical ClusteringPreprint
Navarro, J. F., Frenk, C. S., & White, S. D. M. (1996) · Cited by 6,275
Astronomical Data Analysis Software and Systems
Argyle, R. W., Bunclark, P., & Lewis, J. R. (2008) · Cited by 4,399
Galactic Dynamics: Second Edition
Binney, J., & Tremaine, S. (2008) · doi:10.1515/9781400828722 · Cited by 4,375 · cited 7×
“…list thereof to be used. solar radius5 R0 for populations with different radial-velocity dispersions and investigate how they depend on the asymmetric drift, i.e., the offset between the mean rotational velocity of a kinematically warm population and the circular velocity (Binney & Tremaine 2008).”
BackgroundMethodResultInfluentialThe cosmological simulation code GADGET-2
Petkova, M., & Springel, V. (2005) · Cited by 3,918
A family of embedded Runge-Kutta formulae
Dormand, J. R., & Prince, P. J. (1980) · Journal of Computational and Applied Mathematics · doi:10.1016/0771-050x(80)90013-3 · Cited by 3,634
MONITORING STELLAR ORBITS AROUND THE MASSIVE BLACK HOLE IN THE GALACTIC CENTER
Gillessen, S., Eisenhauer, F., Trippe, S., Alexander, T., Genzel, R., Martins, F., & Ott, T. (2009) · The Astrophysical Journal · doi:10.1088/0004-637x/692/2/1075 · Cited by 1,779
GAIA: Composition, formation and evolution of the Galaxy
Perryman, M. A. C., de Boer, K. S., Gilmore, G., Høg, E., Lattanzi, M. G., Lindegren, L., Luri, X., Mignard, F., Pace, O., & de Zeeuw, P. T. (2001) · Astronomy & Astrophysics · doi:10.1051/0004-6361:20010085 · Cited by 1,100
Astronomical Data Analysis Software and Systems IV
Shaw, R. A., Payne, H. E., & Hayes, J. J. E. (1995) · Cited by 925
Scientific Computing: An Introductory Survey, Revised Second Edition
Heath, M. T. (2018) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611975581 · Cited by 782
Xue, X. X., Rix, H. W., Zhao, G., Re Fiorentin, P., Naab, T., Steinmetz, M., van den Bosch, F. C., Beers, T. C., Lee, Y. S., Bell, E. F., et al. (2008) · The Astrophysical Journal · doi:10.1086/589500 · Cited by 733
The RAVE survey: constraining the local Galactic escape speed
Smith, M. C., Ruchti, G. R., Helmi, A., Wyse, R. F. G., Fulbright, J. P., Freeman, K. C., Navarro, J. F., Seabroke, G. M., Steinmetz, M., Williams, M., et al. (2007) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2007.11964.x · Cited by 628
Massachusetts-Stony Brook Galactic plane CO survey - The Galactic disk rotation curve
Clemens, D. P. (1985) · The Astrophysical Journal · doi:10.1086/163386 · Cited by 573
Bovy, J., & Rix, H.-W. (2013) · The Astrophysical Journal · doi:10.1088/0004-637x/779/2/115 · Cited by 523 · cited 9×
“…(2πGM pc−2) and the local visible surface density Σ = 55 ± 5 M pc−2 from Zhang et al. (2013); 3. the vertical force measurements at 1.1 kpc from the plane of Bovy & Rix (2013); 4. the terminal-velocity measurements of Clemens (1985) and McClure-Griffiths & Dickey (2007), modeled in the same…”
BackgroundMethodSelf-citationDehnen, W. (2000) · The Astronomical Journal · doi:10.1086/301226 · Cited by 497
Dehnen, W., & Binney, J. (1998) · Monthly Notices of the Royal Astronomical Society · doi:10.1046/j.1365-8711.1998.01282.x · Cited by 438
THE MILKY WAY'S CIRCULAR-VELOCITY CURVE BETWEEN 4 AND 14 kpc FROM APOGEE DATA
Bovy, J., Allende Prieto, C., Beers, T. C., Bizyaev, D., da Costa, L. N., Cunha, K., Ebelke, G. L., Eisenstein, D. J., Frinchaboy, P. M., García Pérez, A. E., et al. (2012) · The Astrophysical Journal · doi:10.1088/0004-637x/759/2/131 · Cited by 413 · cited 6×
“…density at the solar circle of Holmberg & Flynn (2000): ρ(R0, Z = 0) = 0.10 ± 0.01 M pc−3; 6. the constraint on the logarithmic slope of the rotation curve from Bovy et al. (2012), represented in the same way as in Equation (41) in Bovy & Rix (2013); 7. the measurement of the total mass…”
BackgroundMethodSelf-citationON THE LOCAL DARK MATTER DENSITY
Bovy, J., & Tremaine, S. (2012) · The Astrophysical Journal · doi:10.1088/0004-637x/756/1/89 · Cited by 345
Self-citationOn the local dark matter densityPreprint
Bovy, J., & Tremaine, S. D. (2016) · Cited by 341
Self-citationThe local density of matter mapped by Hipparcos
Holmberg, J., & Flynn, C. (2000) · Monthly Notices of the Royal Astronomical Society · doi:10.1046/j.1365-8711.2000.02905.x · Cited by 324
Actions for axisymmetric potentials
Binney, J. (2012) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2012.21757.x · Cited by 262
Symplectic integrators and their application to dynamical astronomy
Kinoshita, H., Yoshida, H., & Nakai, H. (1991) · CELESTIAL MECHANICS AND DYNAMICAL ASTRONOMY · doi:10.1007/bf00048986 · Cited by 241
The local density of matter mapped by Hipparcos
Holmberg, J., & Flynn, C. (1998) · CERN Document Server (European Organization for Nuclear Research) · Cited by 239
Constraining the Galaxy's dark halo with RAVE stars
Piffl, T., Binney, J., McMillan, P. J., Steinmetz, M., Helmi, A., Wyse, R. F. G., Bienaymé, O., Bland-Hawthorn, J., Freeman, K., Gibson, B., et al. (2014) · Monthly Notices of the Royal Astronomical Society · doi:10.1093/mnras/stu1948 · Cited by 199
Distribution functions for the Milky Way
Binney, J. (2010) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2009.15845.x · Cited by 186
THE GRAVITATIONAL POTENTIAL NEAR THE SUN FROM SEGUE K-DWARF KINEMATICS
Zhang, L., Rix, H.-W., van de Ven, G., Bovy, J., Liu, C., & Zhao, G. (2013) · The Astrophysical Journal · doi:10.1088/0004-637x/772/2/108 · Cited by 159
Self-citationBinney, J., & McMillan, P. (2011) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2011.18268.x · Cited by 137
Milky Way Kinematics. I. Measurements at the Subcentral Point of the Fourth Quadrant
McClure‐Griffiths, N. M., & Dickey, J. M. (2007) · The Astrophysical Journal · doi:10.1086/522297 · Cited by 119
DYNAMICAL MODELING OF TIDAL STREAMS
Bovy, J. (2014) · The Astrophysical Journal · doi:10.1088/0004-637x/795/1/95 · Cited by 117
Self-citationActions for axisymmetric potentialsPreprint
Binney, J. (2012) · Cited by 117
Distribution functions for the Milky WayPreprint
Binney, J. J. (2009) · Cited by 108
THE PECULIAR PULSAR POPULATION OF THE CENTRAL PARSEC
Dexter, J., & O’Leary, R. M. (2014) · The Astrophysical Journal Letters · doi:10.1088/2041-8205/783/1/l7 · Cited by 106
New Constraints on the Galactic Bar
Minchev, I., Nordhaus, J., & Quillen, A. C. (2007) · The Astrophysical Journal · doi:10.1086/520578 · Cited by 100
On the ellipticity of the Galactic disk
Kuijken, K. H., & Tremaine, S. D. (1994) · The Astrophysical Journal · doi:10.1086/173635 · Cited by 96
Simple Distribution Functions for Stellar Disks
Dehnen, W. (1999) · The Astronomical Journal · doi:10.1086/301010 · Cited by 61
Sanders, J. (2012) · Monthly Notices of the Royal Astronomical Society · doi:10.1111/j.1365-2966.2012.21698.x · Cited by 55
AN EMPIRICAL FORMULA FOR THE DISTRIBUTION FUNCTION OF A THIN EXPONENTIAL DISC
Sharma, S., & Bland‐Hawthorn, J. (2013) · The Astrophysical Journal · doi:10.1088/0004-637x/773/2/183 · Cited by 12
Cited by
The Astropy Project: Building an Open-science Project and Status of the v2.0 Core Package*
The Astropy Collaboration, Price-Whelan, A. M., Sipőcz, B. M., Günther, H. M., Lim, P. L., Crawford, S. M., Conseil, S., Shupe, D. L., Craig, M. W., Dencheva, N., et al. (2018) · The Astronomical Journal · doi:10.3847/1538-3881/aabc4f · Cited by 7,687
Ahumada, R., Prieto, C. A., Almeida, A., Anders, F., Anderson, S. F., Andrews, B. H., Anguiano, B., Arcodia, R., Armengaud, E., Aubert, M., et al. (2020) · The Astrophysical Journal Supplement Series · doi:10.3847/1538-4365/ab929e · Cited by 1,414
Self-citationAbdurro’uf, Accetta, K., Aerts, C., Silva Aguirre, V., Ahumada, R., Ajgaonkar, N., Filiz Ak, N., Alam, S., Allende Prieto, C., Almeida, A., et al. (2022) · The Astrophysical Journal Supplement Series · doi:10.3847/1538-4365/ac4414 · Cited by 1,289
Self-citationThe GALAH+ survey: Third data release
Buder, S., Sharma, S., Kos, J., Amarsi, A. M., Nordlander, T., Lind, K., Martell, S. L., Asplund, M., Bland-Hawthorn, J., Casey, A. R., et al. (2021) · Monthly Notices of the Royal Astronomical Society · doi:10.1093/mnras/stab1242 · Cited by 610
AGAMA: action-based galaxy modelling architecture
Vasiliev, E. (2019) · Monthly Notices of the Royal Astronomical Society · doi:10.1093/mnras/sty2672 · Cited by 562
Metadata
- Authors
- Bovy, J.
- Venue
- The Astrophysical Journal Supplement Series
- Publisher
- American Astronomical Society
- Published
- 2015-02-03
- Volume
- 216
- Issue
- 2
- Pages
- 29
- ISSN
- 0067-0049 (ISSN-L)
- 1538-4365
- OpenAlex
- W2121480729
- Cited by
- 1,537
- References
- 38
- FWCI
- 34.92
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.