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-2.0.0b3.tar.gz (872.4 kB view details)

Uploaded Source

Built Distributions

pynbody-2.0.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b3-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b3-cp312-cp312-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pynbody-2.0.0b3-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-2.0.0b3-cp311-cp311-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b3-cp311-cp311-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-2.0.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b3-cp310-cp310-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b3-cp310-cp310-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-2.0.0b3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b3-cp39-cp39-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-2.0.0b3-cp39-cp39-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file pynbody-2.0.0b3.tar.gz.

File metadata

  • Download URL: pynbody-2.0.0b3.tar.gz
  • Upload date:
  • Size: 872.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pynbody-2.0.0b3.tar.gz
Algorithm Hash digest
SHA256 a60e374089c6e475ff9b0a40b7e0275d450fb40f2874c5d1501a63942609e5e1
MD5 ab1fc5dff0b51bef2ed6c16887c9ed4c
BLAKE2b-256 3bc42c11a3ce775bbb7f70e7d6d777e4134cee6cd2df9ad07366a50fb2dae9dc

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a305ba8737f7a91b517b21f1d351ecb93de9dca72eca8bfe220114b088ca8bda
MD5 7b4aee4e050d5bebe0e7dff383aa503d
BLAKE2b-256 94bfb237ef887cebea57c6b46f7cf0fd0023f7a228a65bc443b00594d6368fef

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 319de3ae75e7360cc5ee72bb8f014cd3f1b1c96a78386212a4dfa69d99acf6b9
MD5 2976082f90c7d4b62f4789ad3f449729
BLAKE2b-256 c9bf58fda36080b86c1fb4112fd57f0608f63937e122e7ae099ede0aa508a8de

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e9366dfb1b65f1e96e5961b7df7f7839b7ddb2cde178db6e3e2e8ba9be9e2be2
MD5 5ff24d4d3dc7cfccc4251653fb274f75
BLAKE2b-256 24e1a95d04b6b3c03b0c2097ccc0210a69ed10b04da9f97528d7e496f61ed453

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d22533c27619f5731808e337808c65ca19ff6aa3b727cd5ce92c948b0d3ed65
MD5 77177a69ab44eb8b125f1eb83767fb01
BLAKE2b-256 31c28b07c99c52ada7f284359246e2e7f6925adfd721fe4c04fef3ec6f18ee2e

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6c63d6f38524f70f6c33d1b23fffc15385fd162bebb254028a4e2d536d92b89
MD5 f474f8f34d79681819d0e4ca1baa5f5f
BLAKE2b-256 ddc14b8e3892eef41a5bbb01b84fd2dd78058ddd5017057fbf907e30d4ed1962

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 55167e71a9060b69d83dca897fa23ef811744235aa0940195bf67351586622e4
MD5 4e20187a133bde01261d2432a2e33cef
BLAKE2b-256 faeb21c1c0e4bc7d381d958f4b77c7d987f3e92e4496dc9715f2ef91c0ce5041

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c25d89e018765fa1d49cfb70bc7120228b86e3adee729645b27ddd04e6a75222
MD5 902b023109a09858895cc2c3cb2edce0
BLAKE2b-256 f19b87487845b90703337eac44cb0d16c870e66cf8858bdae9dde9d20d5417ff

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dc568203716576ee2c78d7930e29c9c354d81e3742f90dc9faacd3d509e3bccf
MD5 7a8560b1f5cda923c862ce91da943e95
BLAKE2b-256 0aba33b2a7354393b5a2d80bff12de8b57953e2c9119264476e15382968e33c8

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eee3a7234d9447f339e0cad9664549d9e8cb7c957b4d3fef64b9b6b2b73c6090
MD5 1312355ed351f3e6207409d7dd443a54
BLAKE2b-256 75bfa6befe9441e2e5aadcb3e68dac1a568e86b1fb629c4137742de48d8cb03c

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1847349074dfdea31419342251fd86e9b1de218928957155cd0cf3b8648d18c1
MD5 3c460a664f3b48de6205f0a2f18c21db
BLAKE2b-256 f39f6f71232b63e9b4c9c5cfbece7eb13dcd7d85f72001b815c7725d5e33b696

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6fa9d6a19fe89ac58c52c4d08c9d07d298dddb42fc225f557ea69467334a34f2
MD5 70cbb33a4a3854e707fa361a86641bcd
BLAKE2b-256 be4f713c92ad60d5fdfdddf13716eef3aa049f5aac73d1081bafb5d878dfb0ab

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c93b2b7d12b9121399e7fcb8fd2408a7836bed222f4b1f331e370d8e8a9196f9
MD5 e3778fa50607ef9ded948fc0e5b63f74
BLAKE2b-256 ebee76f431bc0fe2f3c14c5eb2ff157395f350e5affb985c9ab4ec4f1b1e6510

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