Skip to content

IntensityTools/MGrowth

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 90.6%
  • Python 9.4%