Git Product home page Git Product logo

class_eos_fr_public's Introduction

CLASS_EOS_FR

Cosmic Linear Anisotropy Solving System

With Cosmological Perturbations in f(R) Gravity

The code CLASS_EOS_FR is an extension of the CLASS code.

For download and information on class, see http://class-code.net and https://github.com/lesgourg/class_public

(README file adapted from the README_CLASS.rst file.)

Downloading the code

Go to https://github.com/borisbolliet/class_eos_fr_public

Using the code

You can use class_eos_fr_public freely, provided that in your publications you cite at least the papers:

Do cosmological data rule out f(R) with w≠−1? (Battye, Bolliet, Pace, 2017).

CLASS II: Approximation schemes (Blas, Lesgourgues, Tram, 2011).

Compiling CLASS_EOS_FR and getting started

Move to the code repository

$ cd class_eos_fr_public

Clean up and Compile

$ make clean

$ make

(You may need to do a ‘$ sudo make’.)

The code class_eos_fr runs in parallel, so you need a gcc compiler that is not clang.

The previous commands compile both the executable and the python wrapper. If you do not want the classy python module do ‘$ make class’.

For the python module, you need the prerequisites such as numpy, scipy and Cython installed on your computer.

Then, run the code with

$ ./class explanatory-class-eos.ini

The explanatory files are reference input files, containing and explaning the use of all possible input parameters.

Python Wrapper and Jupyter Notebooks

To use CLASS from python, or ipython notebooks, or from the montepython parameter extraction code, you need to compile not only the code, but also its python wrapper. (This can be done by typing just 'make' instead of 'make class’.)

Support

To get support, please open a new issue on:

https://github.com/borisbolliet/class_eos_fr_public

class_eos_fr_public's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

skumagai3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.