Skip to content

pynbody/pynbody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4228c98 · Mar 15, 2025
Apr 7, 2024
Feb 27, 2025
Dec 11, 2024
Mar 14, 2025
Mar 14, 2025
Jul 24, 2018
Feb 3, 2025
Mar 14, 2025
Mar 24, 2022
Apr 7, 2024
Oct 21, 2024
Dec 11, 2024
Feb 14, 2024
May 22, 2024
Feb 27, 2025

Repository files navigation

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. Python version support adheres roughly to SPEC0.

Documentation

The documentation is at readthedocs. To get a first sense of what pynbody can do, try the quick-start tutorial or images tutorial.

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.

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