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

Uploaded Source

Built Distributions

pynbody-2.0.0b10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b10-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b10-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.0b10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b10-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.0b10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-2.0.0b10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b10-cp39-cp39-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-2.0.0b10-cp39-cp39-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pynbody-2.0.0b10.tar.gz
Algorithm Hash digest
SHA256 74da89144f99c158826cd0e6d9e3cfda9995eb25300a5bc70bbc2b99f923d808
MD5 420adbffa02fcc7bea7afc6be0fca8b3
BLAKE2b-256 3bf5a7574ff653f893584c5df0e30c7b510604ca1c13d3075593c30bd327ce40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d00f23a97d959df70cf4efbe7f3ff98212276447bcf629cd76f7a16a4fd61245
MD5 54867232e80a28ffe8efd28ac1e7150a
BLAKE2b-256 a835957b03a4bd5016d8bee35bc96c7cd457bbf2e103a37744425c87dbe1c7bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab5d0a1bdc7379b6c1f57c3fbf37a35baf578e863b9a0d669768964ec2a8ba26
MD5 2a309bc234803282e863a224f6bd837e
BLAKE2b-256 a3ab8acdfd2bdfb91c8e0e3beb4a5a5288d7fdf0a05ae35c261f0f945bdec85c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0900d8b7ce7375ebebf7fb42bf8be955567a94db9f5953729a580794dbfba5fc
MD5 92e5f31d2f3fe24b9b97a9bce1d36ba4
BLAKE2b-256 2dab828e4d9e5bf707d9e4ace90c5f6a9a664b708a6e9f28765f9e679b1faf4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1d3ffe1fcfb0ee5ca3b499d8b71dd382f15c121f8e1f8eed44c3b9794a2b2e9
MD5 ac3a9676730aa2d2103c5796d6524222
BLAKE2b-256 733581439e2ac249a2c39e27975857ea93e2ed43b3165224cbcef256931875bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6efde53de8ec44d20200e6d7df11d0eb4b3fb2b2bb195412a17e66b8e80d4e9f
MD5 fe13d34266dd416ca16e03ae255aae31
BLAKE2b-256 3674f3aa6f595069aa3a2339e38796443d0068db0b565c830140d37e600b4130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 107cecc4d2d7b068c59522eedd471baef89d92fbf1b8be2b7398e80419000566
MD5 bb90f94075847fd44c16e7ad56908e38
BLAKE2b-256 3d72e4f42c7390c7a0b1f2ae1b521c8db2aceee24ec920f280b20486a3453025

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8fe6a0877bc03eeba2dfb1c1104df4051f8520d4b42564ec20a09925da691180
MD5 6c4f2cb95adf947a06662f214f181499
BLAKE2b-256 77c273cc538a84ae5087c948459ec159556514566030a1a34540fc0f28fa45fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f22f9291bf96a4a774a01bf0d216b59dcf0c1ef29b8641cd2d7f6aebf78d4ac8
MD5 7c1bdf4c3abf13d3c886dee4eb388620
BLAKE2b-256 4e03d8f597f618e15dfdfcc532be785083966311d8e62b30777156a24ef00515

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c1a87694279ffbae1488113b281270b01d0a27c2625c2b37628e24d8eb657168
MD5 ec2efd9e61790e727f454f29ea6942ac
BLAKE2b-256 4ca594397b4bc7204c79f1805784db7c437cad4f4fa5a3b7f03773d2e2b73be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f092a07b8d8bdf419bf30ed16b3b6cf42b5447ead16a31df25cb307447dbe1c
MD5 632b50845d909b2fa90f273e9bb6ba6a
BLAKE2b-256 08c285c9d2abee3ab3f4ee84fce1a31be7dc4078f1118614e6844a075e670a46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2d86dceddc3d0abacefba1b0bb2f095b4bb2f65e76baa95bee97f0c78e2ff32
MD5 ab8b15a664466bc05e4c8ce3a505ae9f
BLAKE2b-256 c796162a5345b5b68be23769d6bdc49c85b6b4c589cb28aea068fa4982a824f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b10-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6025bf3acc731b6a6f3e1b7db3b4994d658e2e3e52737581f857059d9e7d8a87
MD5 a2ea879b34256abc8f74aee2795ec7d1
BLAKE2b-256 c63412ef763b4004152df927fb68286fb302db6c67cb80cf1dcceaffa30db5fd

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