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

Uploaded Source

Built Distributions

pynbody-2.0.0b4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.7 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b4-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b4-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.0b4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b4-cp311-cp311-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b4-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.0b4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b4-cp310-cp310-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b4-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.0b4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b4-cp39-cp39-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

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

File hashes

Hashes for pynbody-2.0.0b4.tar.gz
Algorithm Hash digest
SHA256 23033e8c4df8f7f8ca29b6cced8c8e16890f0a640d6af70b5ce85c7d6eff98d7
MD5 1b86d5ad555c5e978ac83e6f4a12d697
BLAKE2b-256 4ac7bb5b996fc8602737d06544a68653fe5766104a3e8c0f5316be14fa1ce381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fadf44b959ad2ca66cd49c16d082b6a1d712361711aba4333675ff4dd3d15089
MD5 34f202cdafd07f9321001b5dca2495b2
BLAKE2b-256 e241e39364e611a9801db7aa04f0445bd8f4f406b74fc70107dfbe51c9db09ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8df440309cf9bc4005398bace8ec47d6cdf0f1f2d30b9e48a66a6c92925f61da
MD5 96faa93949f2116fbb4814dc4fb8ab1a
BLAKE2b-256 f9e4a911923661db75185ba32abe27d5296afa623d8c0963219d5d1fc59c1537

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3f78470756626a0b5bd9c6f4f0fe4e7117566c5931635314794191d160e17377
MD5 0654f7006247abf11b993319aef5479e
BLAKE2b-256 e5b8490394e726d3c7431ffbb43eb3c873ab88be43cdbf9de004c8803000f46a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae8d63d37566906ef85d114c12d11a7f7fb822f34211503b6252d29c1240e00d
MD5 bd4af3a8f58d1786577adb0f79d5ebef
BLAKE2b-256 719dad601b9e42c5b6f8c11354898bf38ab1e1cd80258304b6d71c43bfbc565f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44ced3bdb1e1ed497b3ac85283090a2bb2b962158937c9c3c1188f78f2df55a4
MD5 907662f23966a7b0a8bec4eba12b8bf6
BLAKE2b-256 257ac8bbc794d710d724d54afdbfc23506b90dbd96468b5c26e82d7214d25df9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 21aca8c480160e4c99fac11ce844652ab3cd8cfea51539fa66bf1994a5c52bcc
MD5 5a3b33a869bf59198c9f5cf32550e2b7
BLAKE2b-256 99c4baa12f234eb18d431e4852e71d17048dfb09c6178dd93f5dcca4ea389d0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a97d5522f7a231d36e600f797782bfe1b6ae3c44a7c1c9ee116f2280ff2c64e5
MD5 5e7b031b5ee654783a93f38128c77b15
BLAKE2b-256 0caaeaae5b58862de1daf9f59a494e1734f0e82384b90f55a9c1a96d5d391ae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b44ffc8d942edb9dc3409af0983d5819d0a2dbf0563744ddf2caf6e0dd61c8cd
MD5 d74f5f68549b5e5f774dc20f137a39b4
BLAKE2b-256 6a5384544ad309783be7a8a714251c06587eb7e9be47ac1f92ee716829e6bb82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 068bfa6194c2ffe2d960b2c3f3c9ed609598fc03bdbca8251be15b244f8f5181
MD5 d0377452fffb156752e930ad7da8dbe1
BLAKE2b-256 0f866940065683304bb0cbc953d774961d139367070374724959b522840a2ed5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e094ec671c525feb2d46c3ef4203213710b564d565290fa262177e3d13acf24e
MD5 e1b45d9a67443db6a5f3e2c19be392d0
BLAKE2b-256 ba8022309574a2901472a8eca36f736adb92bb962601f0afd456e3b10696a560

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a5371683e3b46f6dae64c11bfe4b99bd3dc2e912ade0908fdaa322f49eb8717
MD5 c7dc7b510ec62db2b68e1addff47746b
BLAKE2b-256 0f97fef2d862dfc5753e2429a2f0de17aa30f50bf076fe7084c167e3b689495b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 817bf63c7faf1a861f4abeeae7c8c1bbb928cded082ee905f4bcc7bd6981d736
MD5 94883a9a1208c02f89ad7af3784f859f
BLAKE2b-256 d27cdd3d06c397d9788f34d73738935c80cbe780ac4007248e649e544c1a0ba9

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