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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pynbody-1.4.1-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.4.1-cp312-cp312-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-1.4.1-cp312-cp312-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pynbody-1.4.1-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.4.1-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.4.1-cp311-cp311-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pynbody-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-1.4.1-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pynbody-1.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-1.4.1-cp39-cp39-macosx_11_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pynbody-1.4.1-cp39-cp39-macosx_10_9_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6cbdf80e76c60f5ac635b810af6395c65b959ab7836eb63698a8aab0c429b9e4
MD5 20564d5699b9f3dae299d2a29ae01b3e
BLAKE2b-256 b3ae5fb5eeb3e5789b5296b53fff4416e06827647878cb40e858e90006cbfcce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7b9f386c9135b660498fbde286e02c6f1e43049e6ddb0cf826d3ba94adc80e5
MD5 200dc29ff7cb215dbb571205b1a54b3c
BLAKE2b-256 3d5186126013cae4bae0711b0a78bbc7fca7b2729bfcc495e126d5655c57a345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 65124932a065bea1cb7ca69a95fb5bf2d2253bf53279b260bbb59999acd3d5b9
MD5 5d524d5101ea1f5015773fa29edab683
BLAKE2b-256 ae6369a7a331a644d63dcb69a3284c34662475302e70046616bd1e4d008c6170

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84de5db4965387ee4e6f2cc85617b93cf2aa35c8ce6be802a2c57d5720ae436f
MD5 da65a01d34997b6d118c5f43d671a05b
BLAKE2b-256 958f60a9393f9b20e67fd9c196f0a6cc0342956de83321422da7f793ad3c3965

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7980c3446ce2fbb47c857b0153b5f3df1d8bded963890f3add06c2b81205aca4
MD5 b4bdb577afaab24fc1b1c0ab9f36307a
BLAKE2b-256 f0d6ad7fa8702a47a537c7106d28b93ddde4ed132fbf9b61147154f2510c2a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c706abecad6b042a8faaffb8d3f9d1f3ebd1933a0898b35bfaa91df8c14ad278
MD5 786a054f82532689d8bd2724ce5308cc
BLAKE2b-256 d79bde185ef000befaba635fcf0f6ba7b2f1b3ab6ea08a21c926b22048060336

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 567d8ecf4091513015ee863148b3044347cdfbd13c5fbddb84b3cc57103ef374
MD5 b08f747d91ec2587219ca601066d7215
BLAKE2b-256 2e52c5e3f324e62f72ef6e94353ecdfb6fb181b993aead22fcd72a9b3cbdcb54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 616fad8e16c6bc9e31f3c949352fa3eb2835a8d181b2c630433391b7bb315885
MD5 eb455e022fec030ac6ce1374877560d6
BLAKE2b-256 2cabd7c96aa6b268c21b9cb5f028fb35295e4bb6947fe5c721a12dbf2413e15b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4376f94af33e03bdb7d2cb3e012bfff5621fb431580f8e1a898e1db45b74fb07
MD5 6838fac3368692e39b150f823895b6c5
BLAKE2b-256 98bf19aa0e7fa409aea4665790cd9448f7c8cf906604029e0139dc871ff972bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ba53be1c8e4491919b5645c63a838d28bfa160c70e01ea1841759685bae8fd7
MD5 71c0760d95cc596a73f73d6a1a1fdce9
BLAKE2b-256 0d10ad20b0357bc72fb49a3a99b625e665ae66e3f556b2982442a08e8d27664d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c91851916733255c65c9889a2489718073ade564f803003a66ca80fc67101b51
MD5 a24239e9961e08f19e4df5f2f4304c82
BLAKE2b-256 6b17842671abe0eef99d0943315cd70451c7f73e040d1e5889de4faea280ec08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7316c1f8d613b3c37d35d7ab8144a1a8cebe9a8d91107babf43482d4b36403f6
MD5 167934be2978787bc09b53f55bb79df6
BLAKE2b-256 33c108e55a2562e42075ffd0599635f3b8215b1fb90bbae3b5ef23de1f6ab4cb

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