galpy: A python LIBRARY FOR GALACTIC DYNAMICS
Abstract
I describe the design, implementation, and usage of galpy, a python package for galacticdynamics 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 RungeKuttatype and symplectic integrators. For planar orbits, integration of the phasespace volume is also possible. galpy supports the calculation of actionangle coordinates and orbital frequencies for a given phasespace point for general spherical potentials, using stateoftheart 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 twodimensional axisymmetric and nonaxisymmetric disk DFs, a threedimensional 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 themore »
 Authors:
 Institute for Advanced Study, Einstein Drive, Princeton, NJ 08540 (United States)
 Publication Date:
 OSTI Identifier:
 22340088
 Resource Type:
 Journal Article
 Resource Relation:
 Journal Name: Astrophysical Journal, Supplement Series; Journal Volume: 216; Journal Issue: 2; Other Information: Country of input: International Atomic Energy Agency (IAEA)
 Country of Publication:
 United States
 Language:
 English
 Subject:
 79 ASTROPHYSICS, COSMOLOGY AND ASTRONOMY; ANALYTIC FUNCTIONS; APPROXIMATIONS; AXIAL SYMMETRY; COMPUTER CALCULATIONS; DISTRIBUTION FUNCTIONS; DISTURBANCES; LIBRARIES; MILKY WAY; ORBITS; PHASE SPACE; SPHERICAL CONFIGURATION; STARS; THREEDIMENSIONAL CALCULATIONS; TWODIMENSIONAL CALCULATIONS
Citation Formats
Bovy, Jo, Email: bovy@ias.edu. galpy: A python LIBRARY FOR GALACTIC DYNAMICS. United States: N. p., 2015.
Web. doi:10.1088/00670049/216/2/29.
Bovy, Jo, Email: bovy@ias.edu. galpy: A python LIBRARY FOR GALACTIC DYNAMICS. United States. doi:10.1088/00670049/216/2/29.
Bovy, Jo, Email: bovy@ias.edu. 2015.
"galpy: A python LIBRARY FOR GALACTIC DYNAMICS". United States.
doi:10.1088/00670049/216/2/29.
@article{osti_22340088,
title = {galpy: A python LIBRARY FOR GALACTIC DYNAMICS},
author = {Bovy, Jo, Email: bovy@ias.edu},
abstractNote = {I describe the design, implementation, and usage of galpy, a python package for galacticdynamics 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 RungeKuttatype and symplectic integrators. For planar orbits, integration of the phasespace volume is also possible. galpy supports the calculation of actionangle coordinates and orbital frequencies for a given phasespace point for general spherical potentials, using stateoftheart 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 twodimensional axisymmetric and nonaxisymmetric disk DFs, a threedimensional 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.},
doi = {10.1088/00670049/216/2/29},
journal = {Astrophysical Journal, Supplement Series},
number = 2,
volume = 216,
place = {United States},
year = 2015,
month = 2
}

The Python ARM Radar Toolkit is a package for reading, visualizing, correcting and analysing data from weather radars. Development began to meet the needs of the Atmospheric Radiation Measurement Climate Research Facility and has since expanded to provide a generalpurpose framework for working with data from weather radars in the Python programming language. The toolkit is built on top of libraries in the Scientific Python ecosystem including NumPy, SciPy, and matplotlib, and makes use of Cython for interfacing with existing radar libraries written in C and to speed up computationally demanding algorithms. As a result, the source code for themore »

The JBEI quantitative metabolic modeling library (jQMM): a python library for modeling microbial metabolism
Modeling of microbial metabolism is a topic of growing importance in biotechnology. Mathematical modeling helps provide a mechanistic understanding for the studied process, separating the main drivers from the circumstantial ones, bounding the outcomes of experiments and guiding engineering approaches. Among different modeling schemes, the quantification of intracellular metabolic fluxes (i.e. the rate of each reaction in cellular metabolism) is of particular interest for metabolic engineering because it describes how carbon and energy flow throughout the cell. In addition to flux analysis, new methods for the effective use of the ever more readily available and abundant omics data (i.e. transcriptomics,more »Cited by 1 
SpacePy  a Pythonbased library of tools for the space sciences
Space science deals with the bodies within the solar system and the interplanetary medium; the primary focus is on atmospheres and above  at Earth the short timescale variation in the the geomagnetic field, the Van Allen radiation belts and the deposition of energy into the upper atmosphere are key areas of investigation. SpacePy is a package for Python, targeted at the space sciences, that aims to make basic data analysis, modeling and visualization easier. It builds on the capabilities of the wellknown NumPy and MatPlotLib packages. Publication quality output direct from analyses is emphasized. The SpacePy project seeks tomore » 
Coupling fast fluid dynamics and multizone airflow models in Modelica Buildings library to simulate the dynamics of HVAC systems
Historically, multizone models are widely used in building airflow and energy performance simulations due to their fast computing speed. However, multizone models assume that the air in a room is well mixed, consequently limiting their application. In specific rooms where this assumption fails, the use of computational fluid dynamics (CFD) models may be an alternative option. Previous research has mainly focused on coupling CFD models and multizone models to study airflow in large spaces. While significant, most of these analyses did not consider the coupled simulation of the building airflow with the building's Heating, Ventilation, and AirConditioning (HVAC) systems. Thismore »