Skip to main content

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

Project description

pynbody

Build Status

Pynbody is an analysis framework for N-body and hydrodynamic astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, Gadget4/Arepo, N-Chilada and RAMSES AMR outputs. It supports Python 3 only (versions prior to 1.0 are still available on PyPI for Python 2). Minor version support adheres roughly to NEP29.

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.

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.

Source Distribution

pynbody-1.4.0.tar.gz (854.5 kB view details)

Uploaded Source

Built Distributions

pynbody-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-1.4.0-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-1.4.0-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-1.4.0-cp39-cp39-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pynbody-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pynbody-1.4.0-cp38-cp38-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

pynbody-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file pynbody-1.4.0.tar.gz.

File metadata

  • Download URL: pynbody-1.4.0.tar.gz
  • Upload date:
  • Size: 854.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.6

File hashes

Hashes for pynbody-1.4.0.tar.gz
Algorithm Hash digest
SHA256 4434020a1409cb9bba241f83584d15806cebc0981edd29d26b066b414c22ae4c
MD5 37ac30d06a8cbf2baac77cc5c20e0e9b
BLAKE2b-256 b134568a574afd99b078234b7113d4acda44b4dffb916ef06386f428ef162b15

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d67d24f5492df8ef171b4f92b1efa6de5961022bd18c9022ed3231f1c5178a5b
MD5 ca0ef8da7ff56eb0008051aa41cb662a
BLAKE2b-256 7c90ea92a4f6376b702dc0c3d9a89a0e4e09f5132b7a6087bea2ec6f3be62d3f

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 793101af774d46122956768c62150c4b8c425ab9ccbc7fe53264017ad156282d
MD5 04f03e9a1ce066879439b86c1e6c22d7
BLAKE2b-256 6316195732c9e56e0e9ca5ff3b3afed5244ddb9b2878ccbd1dd2e33a077497a3

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2d9f90844098503c2fdd573c703b6d765f1bddcdde22881b060d44b2192ec240
MD5 60ff25ab3c81b8ab627144c86cb660cf
BLAKE2b-256 1f0e48389e8b7354857e42f9cf5661ecc91bb34f6c82c8062fb765404b7c2363

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 202cd95cbfcaadc3bc63f8182db8e6ec6798c465662c4120dc6920eac964cf40
MD5 ab8bc673b1e6578956f6507245bd96a5
BLAKE2b-256 2157f2ead319a296e0c804a1f47d5432bc658a25f9f16b8fb7254c8e24c5fe04

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b13957b725034713fb6896403711438c7082216bd4041c29711f1edc8ed3ef0a
MD5 e3281fa38e3aae1508f801f8eeac91a0
BLAKE2b-256 95c7a862ff03ac8e534ce87ae7d5468f47e26652ba012f541c8f704993f0b166

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8e37441b44865cf83af3a5d273545dc0e125788963928e999121b494fa676087
MD5 f5bb3542dbaacf949c2e07a6985ed509
BLAKE2b-256 32cf0a40e905d285a5449649102c892d5e064c9fd6b78f6ee0a6ae647de6b02e

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 156fdb7193fe7ccc9af0e3c2476873fa01c010e7b70e64b6799ef1e05aa1b0fb
MD5 bf366f6349dc176fba8a96d93f694279
BLAKE2b-256 0bafdce5d0e6479c7103882518d10608c0c663571b5d658632438b54a3c487ed

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cace0044c5b10923f9d219937bc29c8877c76fd682cb50a4d0ea34ee343083a9
MD5 0389936228575f71c9abd726b5323d74
BLAKE2b-256 be62a714a88937d18eabe7e3c38c7646255bab3150c3c333d5b085b164de6480

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 27131edfd022c143338b334f1d43c72ac686bc1d909e12717993c1c3904d3396
MD5 2f64b483265c8b24d6590bbf07e937fd
BLAKE2b-256 739da8c44a8de8e5392e4968871f23cbbf7780368d85cc9b4352ad1572cf5430

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7caab29c76f4892e60fb3ea4cf8e2dbb68a7c2cdd8839bf0eb122aa590a6b41f
MD5 7984fad45d89c277cc0dc320f443c721
BLAKE2b-256 7f4cdbad3fadc98a3ca785438811d302d5c398411f0a0e63bb456340bcd458bc

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c957a7da405d8169c3a595e1a918d745e4666aa139477853f681e9e2cefc46f1
MD5 85ce292df265a6668bf6c23751dc9774
BLAKE2b-256 a2f1ce83b785473b33e83b9bac1783fbe7a1f0c9c57137f161f72357e83f1ae0

See more details on using hashes here.

File details

Details for the file pynbody-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 340ce8db46a18dc7ffc189df9cdc68a456e9b764b59233bd9da3a8c6add34da7
MD5 79ca5dbe9685e87973272e368c99ded4
BLAKE2b-256 b37d0c3628a6c002eccebf69517a5688f17dff6d08eca26acce931bc70468487

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page