https://github.com/pynbody/tangos
The Agile Numerical Galaxy Organisation System
https://github.com/pynbody/tangos
cosmology python simulation
Last synced: 3 months ago
JSON representation
The Agile Numerical Galaxy Organisation System
- Host: GitHub
- URL: https://github.com/pynbody/tangos
- Owner: pynbody
- License: bsd-3-clause
- Created: 2017-10-06T10:07:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-03-06T16:32:01.000Z (4 months ago)
- Last Synced: 2026-03-15T01:21:31.161Z (3 months ago)
- Topics: cosmology, python, simulation
- Language: Python
- Homepage:
- Size: 4.42 MB
- Stars: 22
- Watchers: 4
- Forks: 15
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Tangos - The agile numerical galaxy organisation system
-------------------------------------------------------
[](https://github.com/pynbody/tangos/actions) [](https://zenodo.org/badge/latestdoi/105990932)
_Tangos_ lets you build a database (along the lines of [Eagle](http://icc.dur.ac.uk/Eagle/database.php)
or [MultiDark](https://www.cosmosim.org/cms/documentation/projects/multidark-bolshoi-project/))
for your own cosmological and zoom simulations.
It's a modular system for Python 3.6+, capable of generating and querying databases. _Tangos_:
- is designed to store and manage results from your own analysis code;
- provides web and python interfaces;
- allows users to construct science-focussed queries, including across entire merger trees,
without requiring any knowledge of SQL;
When building databases, _tangos_:
- manages the process of populating the database with science data, including auto-parallelising
your analysis;
- can be customised to work with multiple python modules such as
[pynbody](http://pynbody.github.io/pynbody/) or [yt](http://yt-project.org) to
process raw simulation data;
- can use your favourite database as the underlying store, thanks to [sqlalchemy](https://www.sqlalchemy.org).
By default, _tangos_ uses the file-based database [sqlite](https://sqlite.org), but it is also routinely
tested against the server-based MySQL (from v1.5) and PostgreSQL (from v1.7).
Getting started
---------------
For information on getting started refer to the [tutorials on our github pages](https://pynbody.github.io/tangos/).
These tutorials are also available in markdown format [within the tangos repository](docs/index.md).
Acknowledging the code
----------------------
When using _tangos_, please acknowledge it by citing the release paper:
Pontzen & Tremmel, 2018, ApJS 237, 2. [DOI 10.3847/1538-4365/aac832](https://doi.org/10.3847/1538-4365/aac832); [arXiv:1803.00010](https://arxiv.org/pdf/1803.00010.pdf). Optionally you can also cite the Zenodo DOI for the specific version of _tangos_ that you are using, which may be found [here](https://doi.org/10.5281/zenodo.1243070).