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

Uploaded Source

Built Distributions

pynbody-1.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-1.4.2-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-1.4.2-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.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-1.4.2-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-1.4.2-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.2-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.4.2-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-1.4.2-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.2-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.4.2-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for pynbody-1.4.2.tar.gz
Algorithm Hash digest
SHA256 a3d656181441187b88cf3b1065353a1eb7c0b301e2b30d5e50b3c7e3415e2564
MD5 f836d273539964fea12d46473b4983b6
BLAKE2b-256 c3b601cad687b3fcbef78ec29fa7b391b911b19252cc3bfb004278f609636a7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b7734e0b380a136e3ef889568f4bc241a5c042baef8a1dab9bd665f35750b82
MD5 e2fecf25bdb42eb5142a6bbe9d14d4f5
BLAKE2b-256 98957843b29fb6f2f297a752da1111c98922bde786ef40cf2d4fa6980a014a3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b97b3bc2785919be1b0c5dd09cb14cd8e172268ec76170f7e5ace6f6e4faf36
MD5 1db77f45c6f2cf92c2e3ef11742f518e
BLAKE2b-256 bd41e585283c6be2d34db66cb9dc759012036843c57acd461cbf2ade2b068600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf62046d38fecad1faa246cb981b76d7dd050da4df4a58e177ea571926f4f4e4
MD5 c0bfe6cc7f8f18b60549e8f0c751808f
BLAKE2b-256 158ac22098727a152b06a939520954f6867007d277682524db0cb0c6c7c74034

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93bbf0ef708f26e19732db9c6889ed634f51936642b4e9de93e191322a1a85f3
MD5 5dce48121b00544946087665e4ff8905
BLAKE2b-256 5df54a5a61f8f2c62a20fe78f7b1381cb9cbaa2bd46d334e0c8983d72cab83f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d074be30fb0c160e05bb680a64830286751492c1cd87579ffc856e3deb9d40f9
MD5 e13e564f01d18d41053f44fff9b5f9ca
BLAKE2b-256 db1fd3377bb4481629803892a45a70d98d84410b5fabdb2f6b468a647aa99799

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f22432c0528f32be376fad4bbaa475d4f8cfa636320b635aa465f0fece61b165
MD5 fa6a73ab367ca40ca92c162733b42195
BLAKE2b-256 efb5aaf0a20014c59eb11098ab61e5f6fcbc26099ff81fadd389d654a69e6676

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 650d536d956524ab94755ce0f65d0c0425600a34f3e9bf624aecfd1cf61f4504
MD5 33d51d49e2da18e8db584c830bf7f9e9
BLAKE2b-256 aa9c3c81f63fdad6fec196eb9c4708d899fefea996e70a3097d5c41a83e05063

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c6a7d552ede299f03485fb05bf1f86f4f090f6d96ef97a505f43630bb6a3b53
MD5 48a37a55a38a4ccaf62e368a3fef3a2a
BLAKE2b-256 dd3058eecbd287cce531b5ac37f6e5218ccc22ba0cf76e29c6ea8aa73b1f207a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b1bb3932dea96263fff6ba84f93cab4bc5eb58060d3ded727da5b5f63ce2e471
MD5 2f34dc5333537cb318c7341ec0573195
BLAKE2b-256 5a622748e5e10cf4034232b9c935b63e65352c7e24e5cf296203a8a0cfbda6a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 332e6a27923d64b1b148b36c9c6360071ebe40cab85798ce9b2feb9ea8e0bf0a
MD5 57fcd7aceef4a52a65fa56394f8528fe
BLAKE2b-256 de0430f8448ad40f99ada66766b7a8459f1560d0f48cdb7a6e572a8bc4f3944b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58f6b8698806fe2b734065be91e09e1c2986bcd189423df3334dedf61f5b81f3
MD5 7bff814552456cf33affa711d12b7393
BLAKE2b-256 00f3453ee9af1cffea2980063713c6f756016ca1447603bdc094db466270636b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e9db11b0cc5d9bc3671b9d147e3df387eae58ec06fe7b1bc6ab8bab980d65377
MD5 2e302c16884aa01a4343e45c83c603d7
BLAKE2b-256 9348b236c0928b29257d8b87e880803a71b89b68b1267bffe41dbe696495adbb

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