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

Uploaded Source

Built Distributions

pynbody-2.0.0b5-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.0b5-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pynbody-2.0.0b5-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.0b5-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.0b5-cp311-cp311-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pynbody-2.0.0b5-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.0b5-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.0b5-cp310-cp310-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b5-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.0b5-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.0b5-cp39-cp39-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

File metadata

  • Download URL: pynbody-2.0.0b5.tar.gz
  • Upload date:
  • Size: 887.8 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.0b5.tar.gz
Algorithm Hash digest
SHA256 e83352064fd8b5196f7384cf69db0467cfd6477e5c861b17303f8acee1d85762
MD5 a2e2ece27eef309066ef4c897d01e31d
BLAKE2b-256 a9127b6b42dd2b1039f4f92c35804f80e4460135f60ac9db283b3013de027d9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 618879f81b8541ebe6c0a2be6b8d648da230e4884dcd7a51229be5e9b3a75e30
MD5 f44854db5930640f6b34c67bb96ceee1
BLAKE2b-256 dc07a3b10666ca844aaa485918951b5502899e2409a763e8201a3bdfacf42a71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 12768aa2a8071b29eeb1371455151ed2ed4d4cc69753940d43b6e192d9e9760d
MD5 a0caa31568ae341b0397f8dd0620d53f
BLAKE2b-256 7b3e96e7007b23e7ef3c7185f5e163aba1822b82e86c30911a8734a5ba103324

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f824a7c2633f23d4645dfcbf44ae52bbf950c2a25d8c732e198fe6cb99c2b0e9
MD5 5327e25d5feed90ca6fdda37e9eabf48
BLAKE2b-256 10065e1d020d1475d89b114ed14bc5b45fe0cf10e8641240614b1968a2e32c10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 334b8e68bfde9e602e648c5df38eddefc60b629cce1f1413e7fac9eddd874b7b
MD5 40296bcc1ae56a170d6eb209c200b374
BLAKE2b-256 fb959327211bf6646c127ae5885addfa5879bfaa714741a6721dcb307c3d3c67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ba153ce591baaac1e7a9a58b3ac1f1b39374021dab2f8ef6960aca95ecb9e80
MD5 5c0629a4a3a6fd326b5b775901493355
BLAKE2b-256 34c1894fc2e79774e242ffb764d76eaaeb31135dd75d5c1023b8dd3bab5193c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8f10fc02cda34d71e579fe0894bf1f5bd52b115c8d8fffecdb0ea723eb711034
MD5 cce8a161d74af1ad2db6b5c8e5742ba2
BLAKE2b-256 a7c29bb61fc5145d886ecd9536e294fa8ef219e0ab37fd68b984e97ad93a0d85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ecfa0fd1e17d0e51c9197cae87d5a606be1b0668460180ea0ac947080f9a719
MD5 62286a64dba7b6a5bcbb122c4041b3bf
BLAKE2b-256 17cddfbad3840edd491c048f1596a3dc4b67ee284d8e99d62ced19bbcf0ccc4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b708064631bd89fe4463e9519573f125a77134dc00ad445e9642738081167a0f
MD5 a136d4f62b8a0a9d1d712750731346dc
BLAKE2b-256 0870d92f0a56e88aaba502564908cb323a2a89c15c7924a2cb6c4f731df4842f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ec7eb0f41ab548a931808a72b354a909ccb004631401f32e5407a470f1dcfb4
MD5 6fa11bd22048abdd4cde58d33d54cdd4
BLAKE2b-256 34ef28afa507b999ba07f176a9c54b2f3d5b5073b239a23e2c521c11760ec54f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29179bc682062e4a62cee36de4bb5d029d5a69e7d62a1c48c3d21a3d8e0bad50
MD5 b29f17b69fdbe806c8c2d213be92dec3
BLAKE2b-256 ee463bd9d2d6a785caf03e3975ce8a08ec825afcaeef8a43810e5f7dd0cfc060

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47277637ec94faf402b98a34d201aab75d91d900ca0e22673755eef2c685ee53
MD5 088ff471060ed6f88b2dc90f0b1b3811
BLAKE2b-256 85b4eea1dd2408f5cf931f85ebe468bcd237fe1aaa2bbadf77d88bfe5e3b5852

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 78fbba1acf95375b088f69fb6fc3e8456f00daa72c84146c70079b1e2de113e9
MD5 59090be0812ec042af35037c6e3cf736
BLAKE2b-256 0b3b5c203299f5df0c19a773788d272e3b96c550d260f958c6ea94f3192fa20e

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