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

Uploaded Source

Built Distributions

pynbody-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-1.3.1-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.3.1-cp311-cp311-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-1.3.1-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.3.1-cp310-cp310-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-1.3.1-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-1.3.1-cp39-cp39-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pynbody-1.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pynbody-1.3.1-cp38-cp38-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

pynbody-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file pynbody-1.3.1.tar.gz.

File metadata

  • Download URL: pynbody-1.3.1.tar.gz
  • Upload date:
  • Size: 851.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for pynbody-1.3.1.tar.gz
Algorithm Hash digest
SHA256 ea2d27ae03956b18aafb59b8c8b2ac79da807b8d7ef1b50eb4abe26f8c92e7fa
MD5 1a51e002bb49dae3b371bfe7d031550e
BLAKE2b-256 1cbf2981ba9cd0ae6c8c6fd9d3a5ad8caa987b38547f3a0b88ddeeb1f7e59f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3fd1411b1396b39c0684f2419e207b10652ecc52f93adf4370710ea04c788e7c
MD5 b17f4a882044f584a75645ba2126ac06
BLAKE2b-256 7033b9333f90722b292543f09295ecf7241a151f0ee738e8d925735e1d1fcd8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 69462c6bf9cca43859b2719908cb0c6b3df44bfd8e37f5b3f2117ce2ac2f44ee
MD5 69eeac2eae2f73e7be13df8d263a0a79
BLAKE2b-256 909b71d41c7e8c89b852ffd0809e12bee3837787d92a01eebdbaaf7b5c2fc4da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9cefe8a126bc003f3aa298fc8faf56ebce76181d2c0973a3485749d6b25231f4
MD5 0e5affcec3617568c83543a24d3249e1
BLAKE2b-256 fa0cc823e5400ba8f2555698053c1e4e42489b3f1a8391b6993a8fe6118259c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d0a324ceb3cd5d8e94dddb4784c97828efbd8d49edfe81c64876a62388eeaf3
MD5 0be8e46cdcc43ee0e94ef1c15c3d14a5
BLAKE2b-256 7e67db1d9d23d94a9b6156a3b0b29837d62d53882c826a82aa2e5673d94eae79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a0f6cb2c0381c027ad780a5c38095ad6f62189b5e6b1188ebb0324a38307901
MD5 ce3a5c3dc56865f695efb69dbf57700c
BLAKE2b-256 4be842b8241c279ed0a74597f801c711521d7614be9c5c544978dee92b83c65a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f01a2995c1d4c88250fdf0de11dd4d2e4b5d4da2c2d9c3f8d9493f96b33129b2
MD5 e5885a709a84956db20d81d819530e86
BLAKE2b-256 52dd54f1023720c25ccdbd45048baa3b23a2191cfa2c3cbf5977cbb6c0f6a237

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae29f331065c983129e96e11ac2fdccb685e0ef9a0d345a8b44a8acdfb424874
MD5 abc6e15fac21dd0f13d14651e6196551
BLAKE2b-256 21c80950892ff46aa1ec76e72a9fb35fae38822e94401424f67d01491492948a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79c30c294a3014889f105b37f1776f1499fc4fc02021efbd7c4cbfccbebe4622
MD5 23834f3a51b8bacfdd14b18ba19aca62
BLAKE2b-256 2c20f59ba7306c4f3e581ebea800ecf195dfe4bf4933be9c6ca02106e17dd6ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.3.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b3190589f2f30b7bf8c529ac1feac757d5468b9f2db0b02e0e4cd42db7361bc0
MD5 f54405c1966abec269132db54f528e5a
BLAKE2b-256 2b78f0d38f019376b6d2d6736ab3558b4a370c7bb74f9d366c55dc6812673458

See more details on using hashes here.

File details

Details for the file pynbody-1.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.3.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e3d9b7261890a7eefdce6a807e579289eae4e8b077df1d0c5e08d923dd7734b
MD5 801813046e3e69c31c8d9048726582cb
BLAKE2b-256 cba93b4fcd47dcd5db43f54277c9541de8c61efe9d4a4f48d60dbf08124b2732

See more details on using hashes here.

File details

Details for the file pynbody-1.3.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pynbody-1.3.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 228e1c5791d388d6958d262aecb8883f5bc0f779f91a9511b9ec05e5b8907681
MD5 9b242c5ba1666aba00a8ee07799c5873
BLAKE2b-256 0fd6275fff1bb51d7355b8273060a555049bdafa4226844e52a278da8bcaa278

See more details on using hashes here.

File details

Details for the file pynbody-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pynbody-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e7fba4916ac9e322c7faf52b900bf70c2b51ddd25e482f13a32fa5e453d2e10e
MD5 1e36f91c897f01c394192243b09090df
BLAKE2b-256 7747e8a3e83588b757d756669ce2b8f5959594a649d4170e42ce4d4120bf8c89

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