Light-weight astronomical N-body/SPH analysis for python
Project description
pynbody
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pynbody-1.6.0.post0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5656570fe53e317a07ca5563567f0c7468b3e24e5151f0286c73d1327f3df737 |
|
MD5 | 15a1c82c77498020dd8c7760d1aaf1f2 |
|
BLAKE2b-256 | c4312c516c93fbcce885cd6dc8fc1338ba6d1934e8fe195dc121f76fee00e011 |
Hashes for pynbody-1.6.0.post0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d16844bf83e5a26a5fd79e83cca8cd57f92b94ece246b8c8b4283672ae1369d |
|
MD5 | cb9d76c455a9768d3f8c270518dbbb2b |
|
BLAKE2b-256 | 69037e8aaa1b226679c025639d38f329d144fe688e5e2304ceb74025fbc58c3e |
Hashes for pynbody-1.6.0.post0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f62e242141bf00e95cf9e104b738e35fe10696a3b6a7d12190708c70fd3c91 |
|
MD5 | 5212fa47f805b0821b29ce060ee0a363 |
|
BLAKE2b-256 | 8dff03e3b349c5033abe4acccc6bf5e41afbbe745276db8496cb1be3ef139774 |
Hashes for pynbody-1.6.0.post0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a8adcb4e942fba9793b1524c622f539c42d68928abf70dc235d12f95905c48 |
|
MD5 | ebc4a4754d2b569fd7597e29518beff7 |
|
BLAKE2b-256 | 5a08ea6f70033c25fb0bea532d46a659ad8125bcf08fca3e3d73ba0c97b7bea6 |
Hashes for pynbody-1.6.0.post0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3882d569c0d7e92b0de8ca8ee5a1f0bb9e4afcbb456b9e356f64977df339e6d8 |
|
MD5 | c577037ac5c968d3b8470503afa5fd6d |
|
BLAKE2b-256 | ae74462989b390961c39738436536808fe267481d0c215c3137d6af04587b747 |
Hashes for pynbody-1.6.0.post0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ce3c1302eda72fd3cbd643badb656f4b4b19e6850b12d1dc4cd70c097a1391 |
|
MD5 | 9d0ece84e19243e4c4e3232762220fcc |
|
BLAKE2b-256 | 27a8cc351cc262654b709d2e37e3d9243c78dc1a1c8da7aa9d7001495c497da8 |
Hashes for pynbody-1.6.0.post0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d1d07abf0e11cbaa25615790d155a43fea8aa3dc158ec9b24dc5b9aa8e431b0 |
|
MD5 | 98a9f86cdd84e9045b4af43e7a315cf8 |
|
BLAKE2b-256 | 6b585671ab75929692598c6dd75093bc7ed0e69fabb64d330f739f5066c5323c |
Hashes for pynbody-1.6.0.post0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7edaf36ab3ea87f266154e3b1d5c181a735c3198dde7f92bbf3db15ccabad5d1 |
|
MD5 | 8208a821fcc902a48e0e6c06ce03b1b5 |
|
BLAKE2b-256 | 9b63ce6cae7cacceb496782cc83aeaf486989907f5f51cffdd1bfec86f1e31ae |
Hashes for pynbody-1.6.0.post0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16392daefaae3d1cf1ae4a3cd5d0cf59b0ba5ad8964ca2d9a20df8cdd6787224 |
|
MD5 | 99c71a960affad473aa9a33809b91048 |
|
BLAKE2b-256 | 54c7c1fd38468673691d0d14a24a2ce21e55b0bee6d29ef9e8d3a7a7c39fe378 |
Hashes for pynbody-1.6.0.post0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cd2b702bbf3aa3449c1651931c9485408db089f904030d7a310e38082ca6d3 |
|
MD5 | 8afb84dc73f2b0e3da9b765779ba96ea |
|
BLAKE2b-256 | 562ed46d065a6adcd2cb17d0f7bf29459ba20aa9d0f4f10ff2af839b7357fe4a |
Hashes for pynbody-1.6.0.post0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd6927a76fa375d4a5afecaa766a18016c483c3cd04a38b6b76bbd2dc715920 |
|
MD5 | 29205906b1208cff1ac1c6d633a805c7 |
|
BLAKE2b-256 | 7d896c866914976cf508248ca67daea0e6c7bcbb4fea4a391e7d978aeced2f55 |
Hashes for pynbody-1.6.0.post0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c36cb162be6f7e7fa0ac27eb540959e98bcdaa6ccf0a18d5e1ae3e407e81600 |
|
MD5 | 5b9fb229ffdfe05e4bfa466765a530d3 |
|
BLAKE2b-256 | cccff57c9fb62237a1ac96deefb809f650c25ddbb7791044114f1d95071fb4a0 |