Skip to content

jcoupon/halomodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

halomodel

Jean coupon - 2016 - 2018 Library to run halomodel routines

Required libraries:

for c (set path in Makefile if necessary):

for python:

To install the library:

run

$ git clone https://github.com/jcoupon/halomodel.git
$ cd halomodel/halomodel
$ make

Options:

  • PREFIX_GSL=DIRECTORY (default: /usr/local)
  • PREFIX_FFTW=DIRECTORY (default: /usr/local)
  • PREFIX_NICAEA=DIRECTORY (default: $(HOME)/local/source/build/nicaea_2.7)

Then:

  • add the halomodel path to PYTHONPATH
  • in python: "import halomodel"

To test the installation:

$ python
>>> import halomodel
>>> halomodel.test()

About

Library written in c with a Python wrapper API to compute dark matter halo model functions based on a given Cosmology.

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors