Title: October 2006 Bogdan Popescu
1 GRAVLENS WORK
Gravitational Lenses using GRAVLENS
gt cout ltlt Last updated ltlt last_update ltlt
\n gt Last updated October 11, 2006 gt
October 2006
Bogdan
Popescu
2 GRAVLENS 1.07 Overview 1
GRAVLENS - Software for Gravitational Lensing by
Chuck Keeton for the CASTLES project
Software The code comes packaged in a Unix
"gzipped tar" file called gravlens.tar.gz. To
extract the files, give the commands gzip
-vd gravlens.tar.gz tar -xvf
gravlens.tarThe package contains two
executables gravlens A code to perform many
basic lensing calculations lensmodel A code for
modeling observed lens systems contains all the
capabilities of gravlens, plus commands to handle
many common modeling situations Disclaimer In
general, I believe that the code works correctly.
It has been used for several years by different
people for different applications, and we have
not uncovered any fundamental errors.
Nevertheless, I make no guarantee of its
accuracy. I encourage you to perform your own
tests, and to watch out for results that do not
make sense.
1 http//www.physics.rutgers.edu/keeton/gravlens/
October 2006
Bogdan
Popescu
3 Images Strong and Weak Lenses 2
2 Image credit Jetzer, P. Gravitational
Lensing in Modern Cosmology, edited by
Bonometto, S. et al, 2002
October 2006
Bogdan
Popescu
4 Mass Reconstruction 3 (astro-ph/0509252 - P.
Schneider)
3 astro-ph/0509252 - P. Schneider
October 2006
Bogdan
Popescu
5 GRAVLENS 1.07 4
Some canonical lens models
4 http// www.physics.rutgers.edu/keeton/gravlens
/manual.pdf
October 2006
Bogdan
Popescu
6 GRAVLENS 1.07 4
4 http// www.physics.rutgers.edu/keeton/gravlens
/manual.pdf
October 2006
Bogdan
Popescu
7 GRAVLENS 1.07 Sample Runs 4
4 http// www.physics.rutgers.edu/keeton/gravlens
/manual.pdf
October 2006
Bogdan
Popescu
8 GRAVLENS 1.07 Sample Runs
GRAVLENS Command File 01.in gridmode 1set ngrid1
15set ngrid2 25set maxlev 3startup 1
1alpha 1.4 0 0 0.3 10.0 0.1 -12.1 0.2 0 10 0 0
0 0 0 0 0 0 0plotcrit model1.critplotgrid
model1.gridfindimg 0.01 0.01
October 2006
Bogdan
Popescu
9 GRAVLENS 1.07 Sample Runs
GRAVLENS Command file 02.in gridmode 1set ngrid1
15set ngrid2 25set maxlev 3startup 1
1nfw 2 0 0 0.01 0 0 0 1 0 00 0 0 0 0 0 0 0 0
0plotcrit model2.critplotgrid
model2.gridfindimg 0.10 0.10
October 2006
Bogdan
Popescu