Counts of Amplified Mass Elevations from Lensing with Ultrafast Simulation
Chieh-An Lin (IfA Edinburgh)
Release v2.0 - 2018-03-14
Camelus is a fast weak-lensing peak-count modeling algorithm in C. It provides a prediction on peak counts from input cosmological parameters.
Here is the summary of the algorithm:
- Sample halos from a mass function
- Assign density profiles, randomize their positions
- Compute the projected mass, add noise
- Make maps and create peak catalogues
For a more detailed description, please take a look at Lin & Kilbinger (2015a).
Required softwares:
Optional softwares:
During the compilation, cmake uses pkg-config to find optional softwares. If they are missing, the compilation still continues without providing all functionalitites.
For Mac users, do the follows before compilation:
$ export CC=gcc
$ export CXX=g++
or use setenv
command in tcsh.
To compile the package:
$ export NICAEA={PATH_OF_NICAEA2.7}
$ cd build
$ cmake ..
$ make
To get program instructions:
$ ./camelus
Current release: Camelus v2.0
- Updated consistency with Nicaea to v2.7
- Flexible compilation: missing optional packages will not stop the compilation
- Renamed peakParameters.c/.h into parameters.c/.h
- Renamed constraint.c/.h into multiscale.c/.h
- Splited rayTracing.c/.h into galaxySampling.c/.h and rayTracing.c/.h
- New files: FITSFunctions.c/.h
- New files: HEALPixFunctions.c/.h
- Flexible parameter reading mechanism
- More explanatory peakParam.par file
- Allowed output customization
- Renamed confusing parameter names
- Random halo redshift inside each slice instead of the median value
- Allowed random mask for plat geometry
- Allowed HEALPix geometry
- Allowed galaxy weighting
- Allowed the mass-sheet correction of lensing signals
- Allowed the Seitz & Schneider inversion method
- Allowed both local and global noise levels in the S/N
- Removed nonlinear filtering
- Added the license
- Made installation more friendly by removing the dependency on cfitsio and mpi
- Added the routine for computing 1-halo & 2-halo terms of the convergence profile
- Flexible parameter space for PMC ABC
- Remove files: FITSFunctions.c/.h
- New files: constraint.c/.h
- Allowed multiscale peaks in one data vector
- Allowed a data matrix from several realizations
- Used the local galaxy density as the noise level in the S/N
- Increased the parameter dimension for PMC ABC
- Changed the summary statistic options for PMC ABC
Unavailable features because of the exterior file dependency:
- New files: FITSFunctions.c/.h
- Added the mask option and nonlinear filtering
- Improved the computation speed by a factor of 6~7
- Converted the halo array structure into a binned structure, called "halo_map"
- Converted the galaxy tree structure into a binned structure, called "gal_map"
- New files: ABC.c/.h
- Added the population Monte Carlo approximate Bayesian computation (PMC ABC) algorithm
- Fixed the bug from calculating halo radii
- Fast weak lensing peak count modeling
Camelus is distributed under the terms of the GNU General Public License Version 3 (GPLv3).
The license gives you the option to distribute your application if you want to. You do not have to exercise this option in the license.
If you want to distribute an application which uses Camelus, you need to use the GNU GPLv3.
- Baltz et al. (2009) - JCAP, 1, 15
- Bartelmann & Schneider (2001) - Phys. Rep., 340, 291
- Fan et al. (2010) - ApJ, 719, 1408
- Hetterscheidt et al. (2005) - A&A, 442, 43
- Lin & Kilbinger (2015a) - A&A, 576, A24
- Lin & Kilbinger (2015b) - A&A, 583, A70
- Lin et al. (2016) - Submitted to A&A
- Marin et al. (2011)
- Oguri & Hamana (2011) - MNRAS, 414, 1851
- Seitz & Schneider (1995) - A&A, 297, 287
- Takada & Jain (2003a) - MNRAS, 340, 580
- Takada & Jain (2003b) - MNRAS, 344, 857
- Weyant et al. (2013) - ApJ, 764, 116
- Wright & Brainerd (2000) - ApJ, 534, 34
Author:
Contributors:
Please feel free to send questions, feedback and bug reports to calin (at) roe.ac.uk.
Check also the GitHub repository of the code.