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.
Installation
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:
git clone git@bitbucket.org:bdiemer/colossus.git
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
OK
If any errors occur, please send the output to the author.
License & Citing
Main Developer: Benedikt Diemer (diemer@umd.edu). Contributors (in alphabetical order): Ankita Bera (accretion history & rate module), Matt Becker (cosmocalc module from which the Eisenstein & Hu 98 code was adapted), Michael Joyce (power spectra for self-similar cosmologies), Andrey Kravtsov (original MCMC module), and Steven Murray (Ludlow et al. 2016 concentration model, general updates). Additional code for specific models contributed by Elena Fernandez-Garcia, Andrea Fiorilli, Riccardo Seppi, Aaron Yung.
License: MIT. Copyright (c) 2014-2026
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).
Metadata
Release files for colossus 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| colossus-1.4.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / colossus-1.4.0-py2.py3-none-any.whl
| Download URL | colossus-1.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 236.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7a6ca7e9d8488f5e84981c079273c737d138ff376a90a97c55e79e61d618bdad
|
|
BLAKE2b-256 checksum How to use checksums |
a825dbfb8933d91b806042a289b2248c6da30952fb6f164989ca909cc49d5768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|