Skip to content

Lenstool .par Behaviour

I list here some of the behaviours from the .par file.

  • The only sections which are mandatory are the "potential" section and the "fini" keyword

  • If "grille" is NOT provided then everything works but no lensing is performed

  • If "grille" is provided with nlens = 0 then nothing happens (only pot.dat is written empty) => In that case it should be the same as when grille is NOT provided: actions are performed without any lensing effect.

  • If no "potential" section is provided the program stops with an error (no potential) => In that case it should simply be a warming and no lensing effect is applied.

  • If no "champ" section is provided the default [-20,20;-20,20] region is used but no message is given => In that case it should write a warning that the default values are used (and mention them)

  • If no "cosmology" section is provided the default cosmology is used but no message is given => In that case it should write a warning that the default values are used (and mention them)

  • If the "fini" keyword is missing the program loops infinitely. => Lenstool should detect EOF in the .par and stop.

Edited by Johan Richard