-
Notifications
You must be signed in to change notification settings - Fork 68
Home
Welcome to the CCL wiki!
CCL is the Core Cosmology Library of LSST-DESC. This library provides us with cosmological predictions that we will be using to analyze the data coming from LSST. For example, for a given set of cosmological paramaters and survey properties, CCL can produce angular power spectra and correlation functions for clustering, lensing, etc.
Clone the repository into your computer. Do
cd path/to/CCL/dir
git clone [email protected]:DarkEnergyScienceCollaboration/CCL.git
In order to compile CCL you need GSL version 2-1. You can get GSL here: https://www.gnu.org/software/gsl/. To install it you need to be the admin of your computer. Also in the future, you will also need FFTW3, which you can get here: http://www.fftw.org.
To compile CCL, go to the directory where you installed it and follow the instructions on the README. See also Known installation issues and our extensive README, which tells you how to customize the installation. Notice that the suggested installation procedure is different if you are planning on doing development for CCL.
We ask you that when you work on a modification on CCL, you do so by creating a git "branch". You can do this by going to the CCL directory in your computer and typing
git checkout -b nameofyourbranch
This command will at the same time create the branch and switch to it.
Now you can start your modifications. Once you are done and want to show us what you have done, you should do a commit
git commit -m "some message about what you have done"
and then push into the repository
git push -u origin nameofyourbranch
Continue working on your branch and push your changes into the upstream branch. To only push changes from your current branch, you need to configure git as follows
git config --global push.default current
When you are done with your work, open a pull request.
For more details, including how to work with the Python wrapper, please see our CONTRIBUTE file in the repository.
If you find something we have missed, please contribute by opening a github issue on this.
CosmoSIS: sampler, pipeline code, and collection of cosmology modules for inference with focus on flexibility
CosmoLike: optimized pipeline for fast, high-precision multiprobe predictions with focus on internal consistency
CCL is external to both these frameworks
- Learn from strengths and weaknesses of both
- Not replacing either of them, but can become part of each
- Lives in its own repository
- Designed to be independently useful however your team decides to work