Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2009.017] CosmoloPy: Cosmology package for Python

CosmoloPy is a suite of cosmology routines built on NumPy/SciPy. Its capabilities include various cosmological densities, distance measures, and galaxy luminosity functions (Schecter functions). It also offers pre-defined sets of cosmological parameters (e.g., from WMAP), conversion in and out of the AB magnitude system, and the reionization of the IGM. Functions take cosmological parameters (which can be numpy arrays) as keywords and ignore any extra keywords, making it possible to build a dictionary of cosmological parameters and pass it to any function.

Code site:
Used in:
Preferred citation method:

Please see citation information here:

Views: 221

Add this shield to your page
Copy the above HTML to add this shield to your code's website.