Skip to main content

Cosmology, halo, and large-scale structure tools

Project description

Colossus is an astrophysics toolkit, the name is an acronym for COsmology, haLO, and large-Scale StrUcture toolS. Please consult the Online Documentation for details.


The easiest way to install Colossus is by executing:

pip install colossus

You might need to prefix this command with sudo. Alternatively, you can clone the BitBucket repository by executing:

hg clone

After installing colossus, you should run its unit test suite to ensure that the code works as expected. In python, execute:

from colossus.tests import run_tests

The output should look something like this:

test_home_dir (colossus.tests.test_utils.TCGen) ... ok
test_Ez (colossus.tests.test_cosmology.TCComp) ... ok
test_DK14ConstructorOuter (colossus.tests.test_halo_profile.TCDK14) ... ok
test_DK14ConstructorWrapper (colossus.tests.test_halo_profile.TCDK14) ... ok

Ran 86 tests in 7.026s


If any errors occur, please send the output to the author.

License & Citing

Author: Benedikt Diemer (

Contributors: Matt Becker, Andrey Kravtsov, Steven Murray

License: MIT. Copyright (c) 2014-2019

If you use Colossus for a publication, please cite the code paper (Diemer 2018). Many Colossus routines implement the results of other papers. If you use such routines, please take care to cite the relevant papers as well (they will be mentioned in the function and/or module documentation).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for colossus, version 1.2.11
Filename, size & hash File type Python version Upload date
colossus-1.2.11-py2.py3-none-any.whl (167.3 kB) View hashes Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page