galpy: A python']python LIBRARY FOR GALACTIC DYNAMICS

被引:1141
作者
Bovy, Jo [1 ]
机构
[1] Inst Adv Study, Princeton, NJ 08540 USA
基金
美国国家科学基金会;
关键词
galaxies: general; galaxies: kinematics and dynamics; Galaxy: fundamental parameters; CIRCULAR-VELOCITY CURVE; MILKY-WAY; DENSITY PROFILE; OORT CONSTANTS; STELLAR DISKS; KINEMATICS; MODELS; GALAXY; KPC; BAR;
D O I
10.1088/0067-0049/216/2/29
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
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/galpywith extensive documentation available at http://galpy.readthedocs.org/en/latest.
引用
收藏
页数:27
相关论文
共 40 条
  • [1] [Anonymous], 1991, Celestial Mechanics and Dynamical Astronomy
  • [2] [Anonymous], 2006, A GUIDE TO NUMPY
  • [3] Binney J., 2008, Galactic dynamics
  • [4] Actions for axisymmetric potentials
    Binney, James
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2012, 426 (02) : 1324 - 1327
  • [5] Models of our Galaxy - II
    Binney, James
    McMillan, Paul
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2011, 413 (03) : 1889 - 1898
  • [6] Distribution functions for the Milky Way
    Binney, James
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2010, 401 (04) : 2318 - 2330
  • [7] DYNAMICAL MODELING OF TIDAL STREAMS
    Bovy, Jo
    [J]. ASTROPHYSICAL JOURNAL, 2014, 795 (01)
  • [8] A DIRECT DYNAMICAL MEASUREMENT OF THE MILKY WAY'S DISK SURFACE DENSITY PROFILE, DISK SCALE LENGTH, AND DARK MATTER PROFILE AT 4 kpc ≲ R ≲ 9 kpc
    Bovy, Jo
    Rix, Hans-Walter
    [J]. ASTROPHYSICAL JOURNAL, 2013, 779 (02)
  • [9] THE MILKY WAY'S CIRCULAR-VELOCITY CURVE BETWEEN 4 AND 14 kpc FROM APOGEE DATA
    Bovy, Jo
    Allende Prieto, Carlos
    Beers, Timothy C.
    Bizyaev, Dmitry
    da Costa, Luiz N.
    Cunha, Katia
    Ebelke, Garrett L.
    Eisenstein, Daniel J.
    Frinchaboy, Peter M.
    Perez, Ana Elia Garcia
    Girardi, Leo
    Hearty, Fred R.
    Hogg, David W.
    Holtzman, Jon
    Maia, Marcio A. G.
    Majewski, Steven R.
    Malanushenko, Elena
    Malanushenko, Viktor
    Meszaros, Szabolcs
    Nidever, David L.
    O'Connell, Robert W.
    O'Donnell, Christine
    Oravetz, Audrey
    Pan, Kaike
    Rocha-Pinto, Helio J.
    Schiavon, Ricardo P.
    Schneider, Donald P.
    Schultheis, Mathias
    Skrutskie, Michael
    Smith, Verne V.
    Weinberg, David H.
    Wilson, John C.
    Zasowski, Gail
    [J]. ASTROPHYSICAL JOURNAL, 2012, 759 (02)
  • [10] ON THE LOCAL DARK MATTER DENSITY
    Bovy, Jo
    Tremaine, Scott
    [J]. ASTROPHYSICAL JOURNAL, 2012, 756 (01)