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.0b2.tar.gz (871.7 kB view details)

Uploaded Source

Built Distributions

pynbody-2.0.0b2-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.0b2-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b2-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.0b2-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.0b2-cp310-cp310-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b2-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.0b2-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.0b2-cp39-cp39-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-2.0.0b2-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.0b2.tar.gz.

File metadata

  • Download URL: pynbody-2.0.0b2.tar.gz
  • Upload date:
  • Size: 871.7 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.0b2.tar.gz
Algorithm Hash digest
SHA256 8ee5149e5bf8b9847e01b1f5e56f61833be1f818f80c18aecffe98fab410247f
MD5 524f3c5bb2a3a641da9efaaf5a05f36a
BLAKE2b-256 17a3275c8dcb9b6c365f565452d1a4a849a0d8aabef37b92ec7620876f6f97eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 471cd62565d6e24f64e5255271284b5e9ca25d081c4e9e6221e3fed019ae39e8
MD5 e959cb56682bf124adaebe6776b7430b
BLAKE2b-256 06b8f7ce78474029523fcef5efa96e852dd786e84141d26abe7897f32679399f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 14355ad9294e47f7290a39656a832f0a451925d011629719f3d0bf7171615972
MD5 87ae08116d464adbef95615d2483c93b
BLAKE2b-256 fe76f03cdc7cb4e9d94f6036f1b9d9a0bd18ca21388141fb1a441db45ee71c01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e537ce45191b3652d28dca109422464ed7d8851722f45f60c25c8a9b3645fa04
MD5 64b19d26c2728df3f8770f87139a021a
BLAKE2b-256 e206176375d360f944e71b8ed3ea73bc21d7e8ed1289a220fcbbb70f3dd76709

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4f4d8b148abb9539b798f08359a2eae5a4301c7aa8d028def9726ef8b7926b4
MD5 a92c43f1d82e6b0a84e73edafdf130eb
BLAKE2b-256 8be7a66d82ece5c76b779121edb05611f95bef09b97862dd99b1f9d348df7479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f92a73ca0a07902b4b9a13c1c0c80ce92836ba0fb77d8028a191af1c36773f4
MD5 de8c9e5ad496ca37ae9d9716c2784416
BLAKE2b-256 cf38b1c69ff57bd7fc4ea9ec135dba9fdf0c73003298aab4be66a751c5bc3cde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5afa457f72dc510299a0f30591d01bd1fb9aae021f91619f056e860e651124c5
MD5 2d3ab2151230db3665ec4f0d873802a8
BLAKE2b-256 1a46cd6846dd4a7fad2572296494712bee193f45ecdb7e780e35b1be346accfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d8af62d67aadedc1d46edeac8e99321edf9bd4eb91cb2239dab17b537436f2c
MD5 973fc4ee73927ccfcbf789c9ce308b45
BLAKE2b-256 81ab36521a738da66e716c80984b09cc360de6ac0c44d80a2a529187ecedb892

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 26c67a0f620122a84fe514182dc1a4351f44f00ba43a4248cf6c3d808a8358f1
MD5 96037782a5dc5209fcae648411024160
BLAKE2b-256 4ecb2bdcc8329cb30d0c39239d959a7273e4717650b7f080e134ecb5738f8ef5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d2d4644bf0d81afdfb4f83ed2b01a0403fee8d6afa9bcda90e2e8fcd7fc41293
MD5 3e0fd3ad8d251ab64b0d04af5b28354b
BLAKE2b-256 0efe6e49d89f1e0ec51a86ddc87054ad8a90eb1df30bbd80efc90a98ccbb006e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63659690a1d323e2419c3785f304240dba86d4328aedae75c7006948d91a9ecc
MD5 b7dcbd877ff484b6f584e5972eaed400
BLAKE2b-256 6c4014251bd062e20b199e7b34691a5bcce83caca0c9c5f881dca6917bd904af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd8d9901d72de0ce8a0015135c37c800baf945cbbb4d558414ba6408107ccc23
MD5 b773b6cc854b2c200caa988af2cc44d1
BLAKE2b-256 4d7e52aedbbf144e50da50c3542c6a8ec413ba40bb8ac0628fb6e0182a4f94b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0e9e2feac1e1273157762c4cc57d47a03e480a85319f4f19b7c30a4e775837ba
MD5 ce717ef34025d139f6c31fee3405f695
BLAKE2b-256 23af80b6873e7883480148a20555cf0e46fe73510bc47f4ded6a993e67002222

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