class_docstr: Class to enable simple cosmological calculations.
  
  For a more full-featured cosmology package, see CosmoloPy [1]_
  
  Parameters
  ----------
  omegaM : float
      Matter Density. 0 <= omegaM <= 1
  omegaL : float
      Dark energy density. 0 <= omegaL <= 1
  h : float
      Hubble parameter, in units of 100 km/s/Mpc
  
  References
  ----------
  [1] http://roban.github.com/CosmoloPy/
code: def __init__(self, omegaM=0.27, omegaL=0.73, h=0.71):
      self.omegaM = omegaM
      self.omegaL = omegaL
      self.omegaK = 1.0 - omegaM - omegaL
      self.h = h
  
      # compute hubble distance in Mpc
      self.Dh = 2.9979e5 / (100 * h)
  
file_path: astroML/astroML/cosmology.py
imports: import numpy
  from scipy import integrate
  from astroML.utils import deprecated
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 1 to create a new Cosmology object  with example: obj = Cosmology(omegaM, omegaL, h)