A description of the methods and some results can be found in Carlson, White & Padmanabhan [Phys. Rev. D80(2009)043531, arxiv:0905:0479] and we ask that a reference to this paper be given if you use this package in a publication.
Once unpacked the code should compile with the standard:
./configure --prefix=on any Unix machine. Copter is written in C++, and you'll need a relatively modern C++ compiler (e.g. g++). Copter makes use of the GNU Scientific Library (GSL), which you will need to have installed somewhere on your system. It also makes use of parts of the Boost C++ library, but the relevant header files are included with Copter (in the src/boost directory), so you do not need to install it yourself. If you want to build the Python bindings you'll also need a recent version of SWIG (usually located at /usr/bin/swig), the Python development headers (usually found in /usr/include/pythonM.N), and Numpy development headers (usually found in /usr/include/numpy). The provided configure script should find the relevant files automatically.
make make install
There is only minimal documentation at present. The additional program rpt2.cpp, also linked below, gives an idea of how to use the code. After installing Copter, you would compile this program with something like:
/include -L /lib -lcopter rpt2.cpp -o rpt2
The library reads cosmology data either from your current directory or from installdir/share/Copter/. If you want to run the codes with your own cosmology you'll need to create your own .ini file and transfer function file (hopefully you can deduce the format from the pre-installed examples).
If you have any feedback or suggestions for improvement, please contact Jordan Carlson.
This package was developed with partial support from the NSF.
|Name||Size (kB)||Last modified|
Return to Martin's home page
Last modified Tue Sep 4 10:27:41 2012