Abstract
I describe the design, implementation, and usage of galpy, a Python package\nfor galactic-dynamics calculations. At its core, galpy consists of a general\nframework for representing galactic potentials both in Python and in C (for\naccelerated computations); galpy functions, objects, and methods can generally\ntake arbitrary combinations of these as arguments. Numerical orbit integration\nis supported with a variety of Runge-Kutta-type and symplectic integrators. For\nplanar orbits, integration of the phase-space volume is also possible. galpy\nsupports the calculation of action-angle coordinates and orbital frequencies\nfor a given phase-space point for general spherical potentials, using\nstate-of-the-art numerical approximations for axisymmetric potentials, and\nmaking use of a recent general approximation for any static potential. A number\nof different distribution functions (DFs) are also included in the current\nrelease; currently these consist of two-dimensional axisymmetric and\nnon-axisymmetric disk DFs, a three-dimensional disk DF, and a DF framework for\ntidal streams. I provide several examples to illustrate the use of the code. I\npresent a simple model for the Milky Way's gravitational potential consistent\nwith the latest observations. I also numerically calculate the Oort functions\nfor different tracer populations of stars and compare it to a new analytical\napproximation. Additionally, I characterize the response of a\nkinematically-warm disk to an elliptical m=2 perturbation in detail. Overall,\ngalpy consists of about 54,000 lines, including 23,000 lines of code in the\nmodule, 11,000 lines of test code, and about 20,000 lines of documentation. The\ntest suite covers 99.6% of the code.\n galpy is available at http://github.com/jobovy/galpy with extensive\ndocumentation available at http://galpy.readthedocs.org/en/latest .\n
Keywords
Affiliated Institutions
Related Publications
Measurement of the oscillator strengths of very weak 1 eV Fe I lines
Relative oscillator strengths are measured for nine very weak 1-eV Fe I lines, using the Oxford spectroscopic furnace. These oscillator strengths are placed on an absolute scale...
Stability of Circular Orbits in Stationary, Axisymmetric Space-Times
view Abstract Citations (50) References (10) Co-Reads Similar Papers Volume Content Graphics Metrics Export Citation NASA/ADS Stability of Circular Orbits in Stationary, Axisymm...
The Galactic Disk Mass Budget. I. Stellar Mass Function and Density
In this paper, we use the general theory worked out within the past few years for the structure and the evolution of low-mass stars to derive the stellar mass-function in the Ga...
The [ITAL]Forbidden[/ITAL] Abundance of Oxygen in the Sun
We reexamine closely the solar photospheric line at 6300 A, which is\nattributed to a forbidden line of neutral oxygen, and is widely used in\nanalyses of other late-type stars....
Galactic Stellar and Substellar Initial Mass Function
We review recent determinations of the present day and initial mass functions in various components of the Galaxy, disk, spheroid, young and globular clusters. As a general feat...
Publication Info
- Year
- 2015
- Type
- article
- Volume
- 216
- Issue
- 2
- Pages
- 29-29
- Citations
- 1362
- Access
- Closed
External Links
Social Impact
Social media, news, blog, policy document mentions
Citation Metrics
Cite This
Identifiers
- DOI
- 10.1088/0067-0049/216/2/29
- arXiv
- 1412.3451