-
Notifications
You must be signed in to change notification settings - Fork 290
Home
lesgourg edited this page Jan 21, 2020
·
49 revisions
Welcome to the CLASS public repository wiki!
This is not the same as the CLASS webpage nor the online html documentation.
Please use Anaconda, which is a Python distribution with graphical installer, and a package manager, that will play nicely with Mac OS X, and remove a lot of problems.
Note that you might encounter an error that reads ValueError: unknown locale: UTF-8
when launching ipython
. Please paste these two lines:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
at the end of your file ~/.bash_profile
.
If you know what you are doing, and/or are on a Linux, you can of course use the Python distribution you want.
- Detailed instructions on how to install the code,
including notes about installing on Mac OS X 10.9+ and the
clang
compiler. - You can find more information on the Python wrapper.
- Problems at compilation, and you don't understand the error message? See the frequently asked questions, and search for the error message.
On this CLASS public repository, you will find only a limited number of branches:
- the
master
branch contains the latest release (corresponding to a version tag, e.g. v2.7.3) - some intermediate commits between two tagged versions can be found in the branch
x.y
with the highest number xy (e.g.2.7
). It might contain a few more bug fixes than the master branch. - the
ExoCLASS
branch contains new modules and features for models with exotic energy injection, including theDarkAges
module, as described in Exotic energy injection with ExoCLASS: Application to the Higgs portal model and evaporating black holes, by P. Stöcker, M. Krämer, J. Lesgourgues, V. Poulin, JCAP 1803 (2018) 018, arXiv:1801.01871 - the
class_matter
branch contains a parallel version computing large scale structure CL's with the FFTlog method of the paper Beyond the traditional Line-of-Sight approach of cosmological angular statistics, by N. Schöneberg, M. Simonovic, J. Lesgourgues, M. Zaldarriaga, JCAP 1810 (2018) 047, arXiv:1807.09540. It incorporates a module for the pre-computation Bessel integrals, and it is provided with an illustrative input filematter.ini
. Most new features are located in the new modulematter.c
- If you want to contribute to the code, please look at the instructions