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 SPEC0.

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

Uploaded Source

Built Distributions

pynbody-2.0.0b14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pynbody-2.0.0b14-cp312-cp312-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

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

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pynbody-2.0.0b14-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pynbody-2.0.0b14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pynbody-2.0.0b14-cp310-cp310-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pynbody-2.0.0b14-cp310-cp310-macosx_10_9_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

File details

Details for the file pynbody-2.0.0b14.tar.gz.

File metadata

  • Download URL: pynbody-2.0.0b14.tar.gz
  • Upload date:
  • Size: 941.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.6

File hashes

Hashes for pynbody-2.0.0b14.tar.gz
Algorithm Hash digest
SHA256 40b9ed370bb448071de0a27ed134b520650ccaa1d9f7657213f4e01c04040302
MD5 1c68c0b2130f7c3167351a1d3d11b4bf
BLAKE2b-256 d63e3a9118d20c58bc6105a5afcbdedf38823b2cda3e1c548931438a5b2d3d81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0eb1a0f55ba411e70e2898b5163cf3fa5356680569508b4052889674bd857bf
MD5 ff23ad21c8614c4df18af89a587079d7
BLAKE2b-256 437bfe742becbb74214124cf1a02d184bbc395c36e3167a780f26e320764bca1

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 77a64b510a06d58148bcb176051b42fcd4d469ec65584b35c6f6614fad503ca5
MD5 c43b4417858e5ac4dfc3c54d7be0b0da
BLAKE2b-256 5d4dd7cccc5d4f9a243eb000e8156532a668f445230ac94d5b8f302959ec4415

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df21dec4fc0d1b0e1833290cfb2133d270609cbd4571645518893355ecda1077
MD5 518b4d84ff3ced77c6d8d6f98b3c96c3
BLAKE2b-256 44c4c8d86c2587df98e907265c7a9b5e11a364bdf9b8cfd03bec04648a96287b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7e1242e53e6c7f9f0d91315e55da16f8e929f5a91d0d67b70b18a8dcb976d586
MD5 6746e5a2d5e9c154e1d4206fa6689aff
BLAKE2b-256 9df8df397cf0584893fefe91741cf4fa07751ac9e6df75471a5e303ee8c60f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7d1d75ddbdde6188f9a0405ca79878e57a621fc910011bf572949e2c80281d9e
MD5 9739c82542cccd30964657ae8e229c72
BLAKE2b-256 8acfac90cba0df9108b6180b81a79a38c3c3536191444f363d0334e629871b5a

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2616312d28c5535741c4a2bafff476190876d3a035d135f35b7e5b67fb609e75
MD5 33d911afdf669a2a2080ba5ce9b0c021
BLAKE2b-256 764de8825f7c2785e8097cbc1c66a1e22677dffbc7232d309d4fe1b9e0dbd97a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ca7d9803d12d4adde086415b662b1c2f6dfce20ec65cfd1d81815834267f5cc
MD5 f6b68611a5342962934ead71a063c52d
BLAKE2b-256 43b9fdaffe15c8baa3191e9e1e607bfeab7478f94838619ad28d7fa881b6e5a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 10c1204c10a0d1aaf4b09a89fda85c60132137fd07b0314a23c34346e97224e1
MD5 94212e37598d437ff0315af8d3447f66
BLAKE2b-256 aa103e75c1396ed27d24308658e31db5437b737bc7b1976153019d048c57dfaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6faea2e78014a6a8309be5bc92ca72038718a793ddccfa909ae18352ac7f7194
MD5 22c12eeabe72db1bca1bc6ea7150b395
BLAKE2b-256 05d77657aa85c27ae5577c1ad5f08f66eac5badc2e9e7716d39cee44ce2f6950

See more details on using hashes here.

File details

Details for the file pynbody-2.0.0b14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a09540a79f9bbe3e598547076ca91a8904c9a49debc0f8bf7c36abe2cb17dc19
MD5 bf78a6ead94daa06efa1f7d634d644fb
BLAKE2b-256 4a6ee11c94b4b1311e38948cb3b419394f6e57cb5f24732091293634cd4c5467

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 107d6cb8e60b463263c89e8cc151dab87276d1af40123a3240792559821864a5
MD5 a1daf6714b383df52d8d4fcf037dda71
BLAKE2b-256 af430f69c4281a2110c9ad849eadc5cfcf3d602b7daa971ec02a4f8f75dcb08b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pynbody-2.0.0b14-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 236f914c3bafea52f0f9a188c394c23f221cf34088f8f565d084c5985c0e070d
MD5 43513a5d43c5ddb0dfd3d40464590710
BLAKE2b-256 dc087d2d2522269dae751c61be422edf5d0d21664264e52c138704de45dae8d5

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