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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

  • Download URL: pynbody-2.0.0b0.tar.gz
  • Upload date:
  • Size: 871.6 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.0b0.tar.gz
Algorithm Hash digest
SHA256 46f74fb5390f26976a9aa3652240b01b903f89777211f7127d7c95db7634d07e
MD5 307697a70bd0a41cc7008a4074b2f743
BLAKE2b-256 dd0b713034860165f6764acb358d64f2ae1aed25e93761ce4ba376c1ffdcaca8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87b1fccc5fa92f71ba1a17a884f63de3215e916ff89af1bc7ec9b7276aa165ff
MD5 557338168672163b6603b90f1ffaabec
BLAKE2b-256 856dfa67f86cd66b4b55ecbfe1186a0a7fe28ee67ebe505360babc171d8ef705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee5a8d900e11acacef367a4350dab3875727c9c991ec6b03c219d624d2cc1118
MD5 9a307ad2744d9cd37f2d3763e2820cff
BLAKE2b-256 2d9faa1c6e34a7c2ef6b1fbfd0e88ac5c5f041dcae152300bec5b28b01f0acd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b60ae2dc6fed7889bf33f291b19363f0b42db99633dbcc0fdab1627b79b90da9
MD5 3b64485963e5faf5b20f1f9175cf0311
BLAKE2b-256 0761e0c0d06f5a0fce9ff028cac6896290bcfe74309deb262ab09c9ea510106e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a2eeaa888b5692d37a0ec671b7311d745bea0b670ef32a2fb06c23a2e2eda06e
MD5 58e888bc3e18814e9ea99e5eaa2e359a
BLAKE2b-256 98e74209f1d01a5ff9ce585e01fa144222b85a9ce9c31d3d2612bf7bc1d534c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 681d520757cdf44574dec8d7abc98dcf5c38f35e468a0a08c0a18224e4ec933d
MD5 e6c46633e3928baaefd2622927d90041
BLAKE2b-256 42fdf9e3ad8e382a653c656df50ee14f9246255ce60388425255364cf6e59774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 91dc871c34ad1b812df1729c8a0b5fde7e5aa8c62659af23839d8503fa0ee1b6
MD5 d24abb58cfdc2f91d17eef0bf9b7ba83
BLAKE2b-256 aae3d6e4cdcf709679c268bf0c36cec95ec651f5466ffbb91a24087dc4bae30f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e7cdc90ab320355836777fa1b667190b47afd12e3555fef045c41d16eed3ce0
MD5 1893fe91dc1890e643b0d34087138815
BLAKE2b-256 47cb24be52fcf39c09fc14b9244537cae1fbcadadc7f2865b05574ef7b1a7d66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7e427bf3f18ce52205e6a7426417be734fb4a91cdb8de2f8b2c1ee880f773bf
MD5 c6e957e5f18d8ab0ae53d9235775bf21
BLAKE2b-256 9a82f1bde9c9299da594ee23c996d6b8be88c783f3372f93174b537ccca03e60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4a260acb1e970fe050ef63d750f63decbaeb724b2d7d63cca84dde2490fd2e15
MD5 d64ac35066c0e388ae79c36977e5acc2
BLAKE2b-256 a663a81de9b97af83663251400538f43b796c4454d546d65178400e2d8977614

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 666976ac8cc63c51c3150a4c2d21b89714e9cfedb071d1e6bdf22302dfe154d4
MD5 1b75950c917e4491353b1700bc536530
BLAKE2b-256 9058a8c6edf471c2a2aa5037982180155859c39e596293eab38ee44534cd3f2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07a19948efc77abde89d6842e158f0a0aeff21c1fb4aab46d5fcda53bc6addc3
MD5 3ec8b9d1e1e4236470f1c0f69fc8ceca
BLAKE2b-256 7db5a7ec3a5c4a58160af408272463f0ec7b0448a84e7ec6929b367e585c739c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 748c0605230b968868537dd672d9dac3e28177282f7af8961d1921c9f02bea95
MD5 730e2427828d3dcd89c1186a8a6b3b8d
BLAKE2b-256 9ba86330adbc61c0c5d932febda8db206c3921f13bc21bc6831009b4b0108bbf

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