Skip to main content

Light-weight astronomical N-body/SPH analysis for python

Project description

pynbody

Build Status

Pynbody is a light-weight, portable, format-transparent analysis framework for N-body and hydrodynamic astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, N-Chilada, and RAMSES AMR outputs.

Written in Python, the core tools are accompanied by a library of publication-level analysis routines. For a quick tour of some of the features, have a look at this IPython notebook.

Since August 2020, pynbody supports only Python 3.5 or later. To reflect this change, we are moving to a new semantic version numbering scheme, starting with 1.0.0. Earlier versions of pynbody (prior to 1.0) can be installed for users who are still transitioning away from Python 2, support for which ended in January 2020.

Getting started

If python and the standard pip package manager is installed and properly configured, you can simply do:

$ pip install pynbody

If this fails, you may need some more detailed installation instructions. Once you have the package installed, try the introductory tutorials. The full documentation can be found here.

Contributing

Help us make pynbody better! As you develop analysis for your science with pynbody, consider making your code available for everyone else to use. You can do this by creating a tutorial or cookbook or by adding your code to the relevant sub-module and submitting a pull request (make a fork first -- see https://help.github.com/articles/using-pull-requests).

Acknowledging the code

When using pynbody, please acknowledge it by citing the Astrophysics Source Code Library entry. Optionally you can also cite the Zenodo DOI for the specific version of pynbody that you are using, which may be found here.

Support and Contact

If you have trouble with Pynbody or you have feature requests/suggestions you can submit an issue, and/or send us an email on the Usergroup mailing list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pynbody, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pynbody-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl (3.1 MB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size pynbody-1.0.4-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size pynbody-1.0.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.5 MB) File type Wheel Python version cp310 Upload date Hashes View
Filename, size pynbody-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl (3.1 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pynbody-1.0.4-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.whl (6.4 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pynbody-1.0.4-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pynbody-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl (3.1 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pynbody-1.0.4-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (6.4 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pynbody-1.0.4-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pynbody-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl (3.1 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pynbody-1.0.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (7.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pynbody-1.0.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.9 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pynbody-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pynbody-1.0.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (6.9 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pynbody-1.0.4-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.5 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size pynbody-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (2.8 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (1.9 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size pynbody-1.0.4-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.0 MB) File type Wheel Python version pp37 Upload date Hashes View
Filename, size pynbody-1.0.4.tar.gz (881.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page