|
Project Information
|
Convenient module for calculating useful cosmological quantities (e.g. Hubble distance and Hubble time, luminosity and angular diameter distances, distance modulus, comoving volume, lookback time) from within your own Python scripts. This code closely mimics the IDL cosmology package of Leonidas Moustakas and John Moustakas. The code calculates all quantities that appear in David Hogg's paper at http://arxiv.org/abs/astro-ph/9905116v4. The accompanying hogg-test.py script reproduces plots from this paper. Requires NumPy and PyGSL |