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-1.6.0.tar.gz (865.9 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-1.6.0-cp312-cp312-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

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

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.6.0-cp311-cp311-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-1.6.0-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-1.6.0-cp310-cp310-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.6.0-cp310-cp310-macosx_10_9_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-1.6.0-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-1.6.0.tar.gz.

File metadata

  • Download URL: pynbody-1.6.0.tar.gz
  • Upload date:
  • Size: 865.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for pynbody-1.6.0.tar.gz
Algorithm Hash digest
SHA256 d604f0cfda9455af54db0112881aa7744c48a2ec0527e7a66da9c54421cb0182
MD5 d68d179a67d2953c535426fd70961a38
BLAKE2b-256 5be7de8457397522b5b2f743d7e3c7857c5af885a1119c3253b3190848ac5883

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b6cce356928bffd29d709d3514eaa4339eb28db844f1a1934f174d689393d25
MD5 9cf8b4c3093aa3557e8f21b1b9c0690c
BLAKE2b-256 2a77e1e0653d4f8fad853f39d375fbe62b5588401bf6b9d239b774cd186b333b

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c21fd2d0806185e459dd067a30949c4da9f08df0226d037ad9f0df8115dea5af
MD5 c908426dd9d45f55f8d4d7fe0d72eec7
BLAKE2b-256 d63542c8fc030bd423f6b55887061719d94017a740e076346cd2910631b5a386

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2cd3d0ebc9c877137f29985f003a1e11d58622ccf64d1eb017be46be56986180
MD5 f5d50b161ef09e31d7db12fa7dcada23
BLAKE2b-256 9daa2bf18de2fc5bdd5c1da52a43498d1382250be29d3ed08ad5414eced2844e

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3cbb4db90402047bdcb1bc8c61cf0612966cb8bdb41c1febd2636d7e3815ecb1
MD5 ac2cc75771b01253a73146432727df11
BLAKE2b-256 33ad8b08c0d13af914a6260214e98a4fa067cbd64c1884fecdc85eb2e6703a20

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 947d6a68d1c4569fedf85c56d72561360b88075568bbbb3df11cb0c8b4368661
MD5 d42a616345e82372e436bd9c57fd7dfc
BLAKE2b-256 34b8f7eae860f0bf4752fd99aa81ddd4e7dce63de962381212afd2cb47b421bf

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c469d7550089cd58e37d2df783f77eed66ce550e3d5066eed60f3989ac86d646
MD5 064ac99eeb4ffffcaeeb8582889a769d
BLAKE2b-256 80d9668c44dc3a39bb112bcdf4f3f3fa162692e11fc89b9cc0d6075210c2b595

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 163a1c16bb3dffee751f354d7c2008efdd83ecbad10b7ab631ddff6d5de6da39
MD5 ffd226413ce094b5eb21b59ea9b6de74
BLAKE2b-256 0b705cd3da8f47c00d6feaaf154c697d3d21d6640275ec147d5642cddf4ccf7f

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11dbe81165c5806d83ebdd8ced607c446245be5fac42dce181ac73e910154583
MD5 c4df58c6dc679c89f85f722250bba868
BLAKE2b-256 352bc2189baf5372ea42cb60520a186c7621dbd04f20ddcd28733b27d15306f0

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0ef0c4af1754aef13422bbe24be50c694f370d77c148f1a59c7c075b2d8f6b4e
MD5 736ba85eda0113b5e93d841c2620b8d3
BLAKE2b-256 e725eb72e3eb7eeeee81ca0d327951b1c7fec6d91e992abe484a6bce1d915d88

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9bfda9654b92bcbe42d0f832666c95b2570111b04a68839887425835b5d7ec2c
MD5 c86cd6999899267695155046f4d90a6a
BLAKE2b-256 d7e3fcaa6ee557ce64e1a9072710a56eadb4107bd0dd0fb9761bdedd37edb441

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0fcf14ee7fc239d1b3c67a6a21fb1ca1c5334fed096648c2c4d93cdad15af0f
MD5 f25ebf9dbd1f1285c726234b26cedeb0
BLAKE2b-256 f3521255ad3fec56614eb5369c86d4acae87d2603468cc1afe7bc8d6bd98f299

See more details on using hashes here.

File details

Details for the file pynbody-1.6.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 96bfd32a81f914e00cc8c5850c967aa639a0d535989b9ba73516d401c82bee39
MD5 e930ab252badc9c9647b15816ed6a1d1
BLAKE2b-256 ba283068f7b3388154d3aa0ae7f23f10f5ea791b6d8919cca9dd48bb66fcc516

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