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.

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

colossus-1.4.0-py2.py3-none-any.whl (236.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file colossus-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: colossus-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 236.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for colossus-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a6ca7e9d8488f5e84981c079273c737d138ff376a90a97c55e79e61d618bdad
MD5 760d0024a166181da2477fd9215c2fa7
BLAKE2b-256 a825dbfb8933d91b806042a289b2248c6da30952fb6f164989ca909cc49d5768

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page