Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pynbody/pynbody
N-body and hydro analysis tools for Python 3. (Older versions support Python 2.)
https://github.com/pynbody/pynbody
Last synced: about 2 months ago
JSON representation
N-body and hydro analysis tools for Python 3. (Older versions support Python 2.)
- Host: GitHub
- URL: https://github.com/pynbody/pynbody
- Owner: pynbody
- Created: 2013-05-14T15:46:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T11:22:18.000Z (9 months ago)
- Last Synced: 2024-04-14T08:06:38.546Z (9 months ago)
- Language: Python
- Homepage: http://pynbody.github.io/pynbody/index.html
- Size: 228 MB
- Stars: 151
- Watchers: 23
- Forks: 73
- Open Issues: 120
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-physics - pynbody - framework for N-body and hydrodynamic astrophysical simulations (Astrophysics / Sound)
README
pynbody
=======
[![Build Status](https://github.com/pynbody/pynbody/actions/workflows/build-test.yaml/badge.svg?branch=master)](https://github.com/pynbody/pynbody/actions)[Pynbody](https://github.com/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 [SPEC0](https://scientific-python.org/specs/spec-0000/).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](http://nbviewer.ipython.org/github/pynbody/pynbody/blob/master/examples/pynbody_demo.ipynb).### 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](http://pynbody.github.io/pynbody/installation.html). Once
you have the package installed, try the introductory
[tutorials](http://pynbody.github.io/pynbody/tutorials/tutorials.html).
The full documentation can be found
[here](http://pynbody.github.io/pynbody/) — or for version 2 (currently in beta),
much better documentation is available [here](http://pynbody.readthedocs.io/).### 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](http://pynbody.github.io/pynbody/tutorials/tutorials.html) or [cookbook](http://pynbody.github.io/pynbody/tutorials/tutorials.html#cookbook-recipes) 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](http://adsabs.harvard.edu/abs/2013ascl.soft05002P). Optionally you can also cite the Zenodo DOI for the specific version of pynbody that you are using, which may be found [here](https://doi.org/10.5281/zenodo.1297087).
### Support and Contact
If you have trouble with Pynbody or you have feature
requests/suggestions you can [submit an issue](https://github.com/pynbody/pynbody/issues),
and/or send us an email on the [Usergroup mailing
list](https://groups.google.com/forum/?fromgroups#!forum/pynbody-users).