LENSTOOL¶
![]() |
![]() |
![]() |
A gravitational lensing software for modeling mass distribution of galaxies and clusters (strong and weak regime).
- Credits: People who contribute on this project (in chronological order): Jean-Paul Kneib, Henri Bonnet, Ghyslain Golse, David Sand, Eric Jullo, Phil Marshall, Julien Zoubian, Mathilde Jauzac, Johan Richard, Benjamin Clément, Tomas Verdugo
- Reference papers: Kneib et al 1996, Jullo et al 2007, Jullo & Kneib 2009
Software Download:¶
- git access: https://git-cral.univ-lyon1.fr/lenstool/lenstool
- dependencies:
- WCSTOOLS: [wcstools-3.8.4.tar.gz]
- CFITSIO: [cfitsio3280.tar.gz] version must be at least 2.510.
- GSL: [gsl-1.9.tar.gz]
- PGPLOT (optional): [http://www.astro.caltech.edu/~tjp/pgplot/]
Note that you can also install CFITSIO, GSL and PGPLOT directly from your package manager. On Ubuntu, you can use the command apt-get from the command line.
- latest tarball source code (5.44Mb): lenstool-7.1.1.tar.gz
- older distributions
- lenstool-6.8.1.tar.gz
- lenstool_v6.7.1.tar.gz
- lenstool-6.5.tar.gz
- compiled version
- lenstool-7.1-macosx-10.13.zip
- lenstool-7.1-linux64.zip
- lenstool.maverick.6.8.zip
Please, contact Eric Jullo (eric.jullo AT lam.fr), if you want to provide a compiled version with another operating system. Compiled version have been compiled with option --disable-shared.
Software Install¶
cd lenstool ./configure make
You can specify the location of cfitsio, wcslib, gsl and pgplot libraries using the configure options --with-X-include-path=DIR, --with-X-lib-path=DIR, where X stands for cfitsio, wcslib, gsl or pgplot. Since version 6.8, Histogram and Histogram2D tools are not anymore compiled by default. You need to specify the option --with-pgplot to compile them. These tools also depend on X11 development libraries and fortran compiler.
If you want to use the generalized NFW profile, you need to prepare the lenstool.tab lookup table with this command
make table
In your .bashrc, you must add the following lines
export LENSTOOL_DIR=<path to the directory of lenstool package> export PATH=$PATH:$LENSTOOL_DIR/src:$LENSTOOL_DIR/perl:$LENSTOOL_DIR/utils
or in your .cshrc,
setenv LENSTOOL_DIR <path to the directory of lenstool package> setenv PATH $PATH:$LENSTOOL_DIR/src:$LENSTOOL_DIR/perl:$LENSTOOL_DIR/utilsNotes:
- For Mac Users, you need to previously install XCode and the Command Line Tools.
- Since 2015, there are 2 libraries available for wcs: wcslib and wcstools. You need to take wcstools.
- On Ubuntu, the package manager proposes libwcstools-dev. This package is not supported by Lenstool yet. Use the link above instead.
Email-list:¶
lenstool AT googlegroups.com
To be added to the mailing list contact Jean-Paul Kneib: jean-paul.kneib AT lam.fr
Lenstool documentation¶
- LenstoolManual -- Lenstool On Line Manual becoming the reference (not fully complete yet)
- lenstool.pdf -- Old manual, also available through the source code distribution
- lenstool_dummies.pdf - A manual written by Mike "McCourt" a student discovering lenstool (Oct 2006).
Lenstool Papers¶
Papers using lenstool to model the mass distribution of massive clusters (not exhaustive)
- Abell 68 (z=0.25) Richard et al 2007 Download here the [a68.tar.gz A68 model]
- Abell 370 (z=0.37) Richard et al. 2010a Download here the [a370.tar.gz A370 model]
- Abell 1689 (z=0.184) Limousin et al 2007 Download here the [a1689.tar.gz A1689 model]
- Abell 1703 (z=0.28) Limousin et al 2008 Richard et al. 2009
- Abell 1835 (z=0.25) & AC114 (z=0.31) Richard et al 2006
- Abell 2218 (z=0.175) Kneib et al 1996
- MS0451 (z=0.55) Borys et al. 2004 Download here the [ms0451.tar.gz MS0451 model]
- 10 massive clusters Smith et al 2005
- 8 wellknown massive clusters: Richard et al 2008
- 20 LoCuSS clusters (10 new) Richard et al. 2010b Download here the [a1835.tar.gz A1835 model][a2218.tar.gz A2218 model][a2219.tar.gz A2219 model][a2390.tar.gz A2390 model][a2204model.tar.gz A2204 model][a521model.tar.gz A521/RXJ0454 model][a773model.tar.gz A773 model]
- 17 massive clusters Richard et al. 2011