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:

hg clone https://bitbucket.org/bdiemer/colossus

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_Ez (colossus.tests.test_cosmology.TCComp) ... ok
test_Hz (colossus.tests.test_cosmology.TCComp) ... ok
...
test_pdf (colossus.tests.test_halo_profile.TCNFW) ... ok
test_update (colossus.tests.test_halo_profile.TCDK14) ... ok

----------------------------------------------------------------------
Ran 72 tests in 3.327s

OK

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

License & Citing

Author: Benedikt Diemer (benedikt.diemer@cfa.harvard.edu)

Contributors: Matt Becker (EH98 transfer function), Andrey Kravtsov (MCMC)

License: MIT. Copyright (c) 2014-2017

If you use Colossus for a publication, please cite Diemer & Kravtsov 2015 ApJ 799, 108 and/or the ASCL entry. 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

colossus-1.1.1-py2.py3-none-any.whl (147.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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