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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b11-cp311-cp311-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b11-cp310-cp310-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

File metadata

  • Download URL: pynbody-2.0.0b11.tar.gz
  • Upload date:
  • Size: 920.9 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.0b11.tar.gz
Algorithm Hash digest
SHA256 8c795fd42ad7df0384eb30efd9b898d02792d855b22cefd32377335f7d9a41f0
MD5 b60d88ed16a2cb0c646802cdf23fface
BLAKE2b-256 11ddc752a3469c364ea0232d47db85f3782bcdbae9505452621e185b3cad8635

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a980dac384690e092f516a617be98781af2ab6625a5d7e84bb78bbff20c90b1
MD5 f131ea2fa38407f59e20990bc4a6f055
BLAKE2b-256 65ad9c4b524b941db6fdb0c6ed5fd8fcae292378b270d7a76482cdba3f51ded2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0792ff5e64aa90a422a31ad0c94c6b0e2cc61bc0e399ac25f5973de4d60d07a3
MD5 7bde9d9b774f127c35fba567a268bba6
BLAKE2b-256 100328a420762d45efae02a9b4fb3dc6654315c2c17df3e0f0747a1dcfc49b74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ee16e2dcdfd5ad32da72f9f9c1d3000a0cd7dba95f737aca0306d67623d9ade3
MD5 07d4fbe67395f00f68ff4d1f3eee6b7a
BLAKE2b-256 affcb276b53ffa5cd01c5f625ca67afda14fc75573418c258b5394464211397a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 849f0e186b354de1ec6b38c63be2a3823d8c51647d00cbe9859529c3ace90542
MD5 f6301b70e88c7448159713b25298c32f
BLAKE2b-256 5e005f69823d1383c66a1c5c4da2ba1adc9b94ec8ac3de7361208c42e9915637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88c7c8894256b28bc3fa24c22bae41a863793d4f1f35fab6b9418f0f6f839561
MD5 c574f30477accbb3be790219d61db444
BLAKE2b-256 d725a119ad317a1a0803680fc3daf470541538b62b73f444d42ce78d6af2ca3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d542dc6d2ca2abfd86f8231229c18c2203ad178114f0069f934a00a60d511cfe
MD5 236deadcf9b0a634e5b5c92220a53519
BLAKE2b-256 a0e8a1aa19133f3ec7d7d82a42b35f72820a7013c1ddb868a9f2d46decfa6db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 955f00120ee720996bd9a893e5fa7789111803b67a25d4b5c32d62d0955b6bbd
MD5 565b7641045a5c71e9c753a71d1ea7cc
BLAKE2b-256 54edaa748ff743cdfe629e83d5ba8ed6e25f5a2975a20b307795e1c1fa842de4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db7309acaadb2968f0a63e5fc3a03f4841faf1cdece58b62ec2cd49a020bea97
MD5 a0b13dd8d24776206776f5167206da93
BLAKE2b-256 61d5c5319b39776355da30f9f1f810719e7da02e514497f50ad07975321a9a2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b11-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a9e44b33a243742a802c74a393efa96d53334d0cf12a1c216d25e5c33264055a
MD5 70c95148326d140bac1b2f384d5659a0
BLAKE2b-256 6d1e913d3fae1fc0c2a45cfc66f17eab4534915914b555086d67bb0a223807ea

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