Project

General

Profile

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
  • Reference papers: Kneib et al 1996, Jullo et al 2007, Jullo & Kneib 2009

Software Download:

Please, contact Eric Jullo (eric.jullo AT lam.fr), if you want to provide a compiled version with another operating system.

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/utils
Notes:
  • 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)


a370.tar.gz - A370 mass model (338 KB) Johan Richard, 03/14/2011 03:10 PM

a1689.tar.2.gz - A1689 mass model (691 KB) Johan Richard, 03/14/2011 03:10 PM

a1689.tar.gz - A1689 mass model (691 KB) Johan Richard, 03/14/2011 03:10 PM

a1835.tar.gz - A1835 mass model (794 KB) Johan Richard, 03/14/2011 03:12 PM

a2218.tar.gz - A2218 mass model (1.14 MB) Johan Richard, 03/14/2011 03:14 PM

a2390.tar.gz - A2390 mass model (340 KB) Johan Richard, 03/14/2011 03:17 PM

cl0024.tar.gz - CL0024 mass model (863 KB) Johan Richard, 03/14/2011 03:17 PM

ms0451.tar.gz - MS0451 mass model (870 KB) Johan Richard, 03/14/2011 03:18 PM

lenstool_dummies.pdf (469 KB) Jean-Paul Kneib, 08/31/2011 03:43 PM

a2204model.tar.gz - A2204 mass model (332 KB) Johan Richard, 09/05/2011 04:12 PM

a2219.tar.gz - A2219 mass model (1.04 MB) Johan Richard, 10/06/2011 01:39 PM

lenstool_v6.7.1.tar.gz (10.3 MB) Jean-Paul Kneib, 10/17/2011 04:29 PM

gsl-1.9.tar.gz (2.46 MB) Jean-Paul Kneib, 10/17/2011 04:34 PM

wcstools-3.8.4.tar.gz (933 KB) Jean-Paul Kneib, 10/17/2011 04:34 PM

cfitsio3280.tar.gz (4.41 MB) Jean-Paul Kneib, 10/17/2011 04:34 PM

a68.tar.gz - A68 mass model (171 KB) Johan Richard, 01/15/2012 09:01 PM

lenstool-6.8.tar.gz (7.46 MB) Eric JULLO, 08/08/2014 04:14 PM

lenstool-6.5.tar.gz (4.77 MB) Eric JULLO, 08/08/2014 04:17 PM

lenstool.pdf (323 KB) Eric JULLO, 08/08/2014 04:27 PM

lenstool.maverick.6.8.zip (402 KB) Eric JULLO, 10/10/2014 02:48 PM

lenstool.snowleopard.6.8.tar.gz (15 Bytes) Eric JULLO, 11/16/2014 11:54 PM

a521model.tar.gz (906 KB) Johan Richard, 03/22/2016 02:32 PM

lenstool-6.8.1.tar.gz (5.4 MB) Eric JULLO, 05/09/2016 11:30 AM