MGrowth


Keywords
Modified, Gravity, Extended, Cosmology
License
BSD-3-Clause
Install
pip install MGrowth==0.1

Documentation

MGrowth

MGrowth is a Python package for computing growth factor and rate in various cosmological scenarios.

Installation

Use the package manager pip to install MGrowth.

pip install MGrowth

Requirements

Required python packages:

  • numpy
  • scipy

For tutorials:

  • matplotlib
  • camb
  • emcee
  • getdist

Running MGrowth

import MGrowth as mg

zz = [0.9, 1.2, 1.5, 1.8]
aa = 1./(1.+np.array(zz[::-1])) ##should be increasing

background ={'Omega_m':0.31,
            'h' :0.74,
            'w0': -1.3,
            'wa': 0.4,
            'a_arr': aa}

cosmo1 = mg.LCDM(background)

D, f = cosmo1.growth_parameters()

Available Models

Documentation

Documentation is available here: http://mgrowth.readthedocs.io/

codeastro