create_cosmology¶
-
randomfield.cosmotools.create_cosmology(*args, **kwargs)[source] [edit on github]¶ Create a background cosmology model.
The created model will implement the
astropy.cosmology.FLRWAPI. Input can either be a pre-defined name, or else a dictionary of parameters that can be used to initialize a newastropy.cosmology.FlatLambdaCDM. The valid names are ‘WMAP5’, ‘WMAP7’, ‘WMAP9’, ‘Planck13’.If no arguments are specified, creates the ‘Planck13’ model.