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.5.2.tar.gz (860.9 kB view details)

Uploaded Source

Built Distributions

pynbody-1.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.12 macOS 10.9+ x86-64

pynbody-1.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-1.5.2-cp311-cp311-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.5.2-cp311-cp311-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-1.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-1.5.2-cp39-cp39-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pynbody-1.5.2.tar.gz
Algorithm Hash digest
SHA256 c332cdb3406c7fd23e07e2e0a9563c95ccb7c92da870bbba22d8caea54d5d0db
MD5 4aafa37bdbb106e1431912d9d58b9e3c
BLAKE2b-256 cc2ed6b1bd8feae6cc39fe2ace7fc14fb42b1b618ba8cc7db2ef204f3f6ae9f5

See more details on using hashes here.

File details

Details for the file pynbody-1.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2537b71e9f2db90a8db16bbbe58d55e771c82db8c3ec285749e11040e9aa6a2d
MD5 38b7541637c1c53630f0e035a9454ebe
BLAKE2b-256 51f6a639ea22584f12132445a91aa9a5002835032a7eb3a44316cc8e40799c60

See more details on using hashes here.

File details

Details for the file pynbody-1.5.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.5.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b605150d9066fd34c7d66ee0bda23dfbfb767b27c6a60bb3881036c92924bfb9
MD5 e2ec744ec6e7622104ddee3d1d93b5d2
BLAKE2b-256 eff2838768c39e1d1bc5a6152098c5a7f2bf518c54d8423d13afd8ea44e18a37

See more details on using hashes here.

File details

Details for the file pynbody-1.5.2-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.5.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e7e3ac2b2621e88ce7a0128c8293ecebb6d16e8dda0a4e919ff6a793cf1effd3
MD5 d6c89563d465fcd5a75286971835882c
BLAKE2b-256 6f515b512e768c16c276dd73248a2b259cbe54c04aab7cc8273093f9261e50aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 658619b226026fe47486074c1f119454569d50e5058912e3ecf4628af941b89f
MD5 017ba00d4e03f92caccf25404361faf8
BLAKE2b-256 60c374967355cc2fce3bc07aa0b4c463bf53a934a6ecac9fe50cb038b399d153

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15b11ace62a0abd7db392e0fdbb5b5a4091c713bbbfaea89e01d304fa1e1d21a
MD5 bd49ac52cdccde83e5a95b39a604f943
BLAKE2b-256 8902e8a9ed5780477054e0cca700275967f27ae95116f1b23c12c45d9d191ea7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fb997a16213455d3f4c9c3658233706b5f8859586fe1f73a5de1e0ce79657565
MD5 0130398fa003d83be9a68aa35a00704a
BLAKE2b-256 f353163996f5cb439b671f92969be26cf309fd0e3600a4b66eabca2b4f5d387d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1301ce6b1134753705941b93458f6bf6f396c061136d76a748a774f64deedd4a
MD5 3e670c561756b00e6cf5aa121a83937e
BLAKE2b-256 17be0a00754c9440eb3cfdee6f8b52baddb94b497d87c71eb9f6baf0ae9ea174

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 252546bda29e15e89e366b5bda10ba8c9632ce6dea9dd7940bbfa2861cacf4bd
MD5 21dd45098df8ddac45ea6cb6573e4e6d
BLAKE2b-256 dd7c56a1be3d777bad378e33b4bb9db1dfded76dabde5b068fb977b7ccb26b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dfa7dd8adae205e699dd6bf8ad15fa9fbcfc4e872ac5ec622ec57b955a98f17e
MD5 e1e39e8f6842ded58cc96247046e4e34
BLAKE2b-256 21465b0923d2eaa8047a4559681e308606943acdb475f05a9e3cb7df6e5b9d33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1b2dc8a666d6a482e3b7f23d7ff02c53432e0bed47be07eddf46a920e211bda
MD5 73703af92ade8ff71af1ecbef7800bc5
BLAKE2b-256 70983cba542d16c73101fc368ba8744ea94dfdd708ec664288170ef02e633b41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d47512180c4432891dc13575ed11b14e481cc66e1a59bbe35fbfb267e625961
MD5 bb410e37666195c9a941037d6614ec55
BLAKE2b-256 6e72b8702c9d3442cf9ddf7c84f41d3f96f72992b2c49419c940f3450295d5d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.5.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4b3d8835a44c8a76ed0dba463d6e09fe9c80fa3efb70c3a7c5a9f6dd294def6e
MD5 386361e50f258a51ebcb64f898c69fc1
BLAKE2b-256 2317ddcd879f62a55bff26fd70c36fec82d866da23fd61d0c8894f787eb2057b

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