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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

  • Download URL: pynbody-2.0.0b7.tar.gz
  • Upload date:
  • Size: 896.4 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.0b7.tar.gz
Algorithm Hash digest
SHA256 afd5f1dd0c8da10e63c34ed0e7fbd7381152496f6df4f34e6369a165be649b3a
MD5 efea3a3b5182db6f46c3815e5ece521e
BLAKE2b-256 35110e839d0965b8f3a8f55d312c304fbdf830753d6195bfbadbd9009c81f858

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5686980c9b57410f2bdf51c301478281e4cb8a798725f5fc57b8ff9af4575e57
MD5 4c2cbe8d3c12464d6a171b216c489e63
BLAKE2b-256 4fd8cc7880ad9ca3f050ca79c3d3d5ff62bf44aed1593c3d2729a894a30c439b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a84d9e5fa8f48e4e8e0398753d9a57c5dcc35d9e4403248b977c0fd2635bb63
MD5 977d27871868fb3b09dbf53a138ffafd
BLAKE2b-256 0f09085331d76ae77f6590528f200d05efe96bf5580e2319be8472fa9a2d101d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e671d1041421a8718c8e7ec2366600d235fdd03b68df1204964c6ad4af3c766f
MD5 66bc3ace53741485eb2bac74e506bfe1
BLAKE2b-256 2a7e2445293acce35c0c469e40452078ed41442d1b807b21bbc81a5bddb78c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 26488b85f3c28277c1a7be30ebb8bbe0f8d1b1427d63792881b86a2c69fbc948
MD5 bd221dba3bd293be727b19543d470e42
BLAKE2b-256 7df81d69ff6c0c5b9ad6eed6a624074c2f1eeceb558aa3add0f0db65ae99b050

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bbcff3a329fa44b7027791ca23dd9abdc49087c71c1d983355394a9481e411f
MD5 737ac3f1832025da9dee10bbd92a2881
BLAKE2b-256 56df2a9947105b18ba34e27c75b7abcc390259eabcbc6e111695d8919e462671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d264014a2862ec02c5946a66895f61aafeb50ee428b82488c513ff8d4fc92dae
MD5 7a60403c44ff345ca44d97597bd0132f
BLAKE2b-256 1d346344cb78e8aebf75545a564df03cecf5c9fecef2622f73185c7b21a15ed6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5e60d26ae99f4caf24c2efc4030a1f05d592e154e387174107ce1844d996acd
MD5 e1ff59905b213be797296a5213481755
BLAKE2b-256 ddb3bc1bb9ca8015e3038db910b5e0281738ead67b8cf62ad7133c65de27dee5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9847a4f12cab3b560d37e4d02e1d7c43d0d26a8fedba4059db5d5eed17d4f444
MD5 b93d3fa1bb3e46127c6bf1e08af427f7
BLAKE2b-256 fa80400fe25b84736e42ed9b1dab929b76c1b3448d20b412670389ee59ffcb8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9e1bd7c12cf74c98d3a8433fcc1be02526e033630fd099e8f2e93f9aa1c0f7eb
MD5 90404e50edc19c3780567ae677751cc1
BLAKE2b-256 7c9a94e2f67d4e68f282fc773273e56d8c584ebfc98d0ce5baf82174d6a133be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38fdd56c6137b94c56f512fcf6bb995e800622fae1ef5fb122b4a530469d6454
MD5 d5541d310bcefa1e9e247aed86c22549
BLAKE2b-256 36779456573db88907209214af7f9455578814873d728a5bf763cf8216cd06b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c8a6af19e16027eaca7330039f3f2b862863056c340220d3a247f0d713c27bb
MD5 aff02ee27262b53e420c1e309ba54f04
BLAKE2b-256 c31eebf8b9db1cebf4c697a4282e5bae7e62ad369e52a045ddf73464eac2650e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b7-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 86c8f2c4b578c174684d816dbdad478665e672d2f52556966538cbcd54785a58
MD5 059229ed71f5ae5f969c38c5ed368d1f
BLAKE2b-256 556f818ce84c8ea0c5667f49d833ffb9e333b55dbce52ec164f796d33f29fd24

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