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 SPEC0.

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

Uploaded Source

Built Distributions

pynbody-2.0.0b12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b12-cp312-cp312-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b12-cp312-cp312-macosx_10_9_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pynbody-2.0.0b12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b12-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b12-cp311-cp311-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-2.0.0b12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b12-cp310-cp310-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b12-cp310-cp310-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pynbody-2.0.0b12.tar.gz
  • Upload date:
  • Size: 927.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pynbody-2.0.0b12.tar.gz
Algorithm Hash digest
SHA256 69e16afb7827c45bbd31a2cd312e18de196075f5c11b043815d82317c978622b
MD5 48509ca65169016cb634e14973230e36
BLAKE2b-256 c213745681ffb4dc9c357ab219fc9188d06b67df532a53a27d041ee92b5a96f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 597ba985c2bb150bb7555458fe010be209e2ad1d5adb542c75509db77889dbbf
MD5 12711ae9407fc6b96c4684e49dd02f0c
BLAKE2b-256 002929a51e3ad79215b49d4f1862c038f4eea68762c4ed6792ae0c50584dfd90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3cb464154371cd9e9b38ba126ed5ee16d45d3164731d940c32ce57d22011de0
MD5 b2682a29e3a1993738dd71b440142912
BLAKE2b-256 f9ac48542886f590e02a402dfd2869a5b4b4ad920330543adc66fa27652e3c24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 04ed0a5f70d90079482ba113aea6ae0309f3cb4bdabf3c25b26c45379260f32d
MD5 b2e8627ed9c23ea325dd5161d202b1fe
BLAKE2b-256 b055c1218255e27ce42708de99ab43e3a68e580753046c0b68ea3d619a2fd1bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c101c0bafdfb9b6f305ee5a9157ff2e752acae580945dcec8df86d91ecff3d3
MD5 31345dab749fe8df83a3acb1abdce7b5
BLAKE2b-256 d5526b58a6bdd39ea110bfb97ad0bb7af8987330fba42e065cbfb84f772e9736

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3c27d79de43d6e2b6938b0655808d52358cd029f42498194b13d09c76f746c7c
MD5 c0f8b2dad3a9b88691e5f24b01165b43
BLAKE2b-256 6bbeb69caf81298106b356f1f7202953f5e0fd6d5f0399b0890a4aa87f74f49b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 400787d6b451dfe12f3249cc50c0acfd9d8a81ea58a068dd0b9612d8254fdfb5
MD5 2524c484b603669e54e08fa2171b89fa
BLAKE2b-256 481a2afee719d6091ea244ea33dbcbe69a7896e525fa6c4ec56900f087d20748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7e98f70d8c5a142db3158f7c8b9886e2d28918fa70ed47780772163cb57786cf
MD5 1fc1613cc01431f7f10e9b31cdb896b3
BLAKE2b-256 c4ef23f08e4980299cce91d33953c021e20ea639c8cbda39ce5b4e6fc1300a30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 65b8725779ace474ed786cc398d1b4c59ca28b396ec1c52e71fbb1d347b4406a
MD5 5bea269df9ec1f119eeafcc7c616a72d
BLAKE2b-256 fa1f2c9de6a4a6c86615e6a1d6afc7dda6a5a9d2a7eef9ade96256bea4147d1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b12-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6b19ca764ec67e00143daed9f4952dd9665104cac3f56829757198fffd64443
MD5 6ac7cf9fef15192639729674c96faecc
BLAKE2b-256 3de918c7a9f528a1a1a45cda23f031118c35a89ce9c95bcaec9d08e0cab06dd5

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