nicaea [ni'kaia]: NumerIcal Cosmology And lEnsing cAlculations Nice coat of arms

Martin Kilbinger, CEA Saclay, Service d'Astrophysique (SAp), France



nicaea is a C-code providing numerical routines to calculate cosmology and weak-lensing quantities and functions from theoretical models of the large-scale structure. nicaea is the base of the cosmology module of the CosmoPMC package.


Get the latest version nicaea_2.7.tgz. A readme file (types .rst, .html, .pdf and other) is included in the package. New features in version 2.7 (Feb 2017):

  • New lensing projection types: extended Limber, spherical-sky prefactor, second-order Limber, full projection (Kilbinger et al. 2017, arXiv:1702.05301)
  • Photometric redshift errors (so far supported Gaussian with second Gaussian for outliers)
  • Modification of halomodel: mass function now normalized to physical volume (new division by a^3)
  • Added CMB normalization A_s
  • Added options to lensingdemo

For older versions of nicaea please contact me (martin.kilbinger at Note that v2.6 was skipped, the previous released version is 2.5


There is no dedicated paper that describes nicaea. To reference nicaea, please use the following publication: arXiv:0810.5129, in which a something that resembles the current version of nicaea has been used.


Martin Kilbinger
Karim Benabed (error propagation, code design)
Jean Coupon (HOD, halomodel)
Henry J. McCracken (HOD)
Liping Fu (decomp_eb)

Please feel free to send questions, feedback and bug reports to If you want to be added to the nicaea mailing list, to get updates about new versions and bug-fixes, send me a mail to

CosmoPMC (cosmology sampling with Population Monte Carlo [PMC])
camelus (Model for weak-lensing peak counts)
athena (tree code for second-order correlations)
reduced-shear corrections

Last updated February 2017.