Skip to content

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

importMGrowthasmgzz= [0.9, 1.2, 1.5, 1.8]
aa=1./(1.+np.array(zz[::-1])) ##should be increasingbackground={'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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages