Skip to content

pynbody/tangos

Folders and files

NameName
Last commit message
Last commit date
Feb 18, 2025
Nov 13, 2024
Oct 16, 2023
Feb 19, 2025
Jun 20, 2024
Jul 18, 2024
Dec 9, 2021
Nov 25, 2024
Apr 17, 2022
Mar 3, 2018
Sep 19, 2023
Jul 27, 2022
Apr 17, 2022
Jan 15, 2024
Feb 19, 2025
Sep 21, 2015

Tangos - The agile numerical galaxy organisation system

Build Status DOI

Tangos lets you build a database (along the lines of Eagle or MultiDark) 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 or yt to process raw simulation data;
  • can use your favourite database as the underlying store, thanks to sqlalchemy. By default, tangos uses the file-based database sqlite, 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. These tutorials are also available in markdown format within the tangos repository.

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; arXiv:1803.00010. Optionally you can also cite the Zenodo DOI for the specific version of tangos that you are using, which may be found here.