# Category: software_sp

S. Pires’s software

## MRLens

Authors: | S. Pires, J-L. Starck, A. Réfrégier |

Language: | C++ (IDL wrapper) |

Download: | mrle.tar.gz |

Description: | A weak lensing mass-mapping tool. |

Notes: | Documentation: ManualMRLens.pdf |

Weak Lensing provides a unique method to directly map the distribution of dark matter in the universe. Ongoing efforts are made to improve the detection of cosmic shear on existing telescopes and future instruments dedicated to survey are planned. Several methods are used to derive the lensing shear from the shapes of background galaxies. But the shear map obtained is always noisy, and when it is converted into a map of the projected mass map, the result is dominated by the noise.

MRLens offers a new algorithm for the reconstruction of Weak Lensing mass maps.

## Description

MRLens (**M**ulti-**R**esolution tools for gravitational **Lens**ing) is a software written in C++ with an IDL interface. This method uses the Multiscale Entropy concept (which is based on wavelets) and the False Discovery Rate (FDR) which allows us to derive robust detection levels in wavelet space. MRLens has been used to process the COSMOS map (see Figure above)..

## User Manual

More than a software dedicated to a new reconstruction method, MRLens software includes many other tools useful to process, analyze and visualize lensing data. The user manual introduces Weak Lensing field and describes the MRLENS tools. Some results are presented and an accurate description of IDL routines are available.

## Downloads

Fast download : (Only binaries)

Standard Download : (Binaries and data)

System Requirements : 1- Make sure you have approximately 400 MB of disk space available. After installation MRLENS package occupies approximately 56 MB or 205MB (version with data) of disk space.

2- The binaries C++ called by IDL routines are not available under all the systems therefore you cannot use the package on all platforms. The supported platforms are : SUN-Solaris, PC-Linux, Mac OS X. Next release will include PC Windows.

Software Requirements : The IDL MRLENS software requires that IDL (version 6.0 or later) to be installed on your computer. Starting IDL using the script program *mrl.pro* allows the user to add the MRLENS software to the IDL environment.

Thus, all routines described in the user manual can be called.

An online help is available by using the *mrh.pro* program.oftwares are required:

## References

This package is a compilation of some algorithms and methods which were developed and/or used successfully in the applications reported in the 2 following publications:

Weak Lensing Mass Reconstruction using Wavelets, J.-L. Starck, S. Pires and A. Réfrégier, Astronomy and Astrophysics, March 2006

Map of the universe's Dark Matter scaffolding, R. Massey, J. Rhodes, R. Ellis, N. Scoville, A. Leathaud, A. Finoguenov, P. Capak, D. Bacon, H. Aussel, J.-P. Kneib, A. Koekemoer, H. McCracken, B. Mobasher, S. Pires, A. Réfrégier, S. Sasaki, ,J.-L. Starck, Y. Taniguchi and J. Taylor, Nature, January 2007

Sunyaev-Zeldovich cluster reconstruction in multiband bolometer camera surveys, S. Pires, J.-B. Juin, D. Yvon, Y. Moudden, S. Anthoine and E. Pierpaoli, Astronomy and Astrophysics, April 2006

More than a software dedicated to a new reconstruction method, this package includes many other tools useful to process, analyze and visualize lensing data.

## Acknowledging MRLens

Please acknowledge use of the code in any resulting work, citing Starck, et al, 2006. We would be interested to collaborate with anyone requiring more advanced applications, and are always interested to hear about new applications. For questions and feedback or to be informed of the forthcoming versions, send an email to Sandrine Pires.

## Contact information

Authors:

- Sandrine Pires
- Jean-Luc Starck
- Alexandre Réfrégier

Last modified on January 6th, 2015 by Sandrine Pires

For questions and feedback or to be informed of the forthcoming versions, send an email to Sandrine Pires

## FASTLens

Authors: | S. Pires, J-L. Starck, A. Amara, A. Réfrégier, J. Fadili |

Language: | C++ (IDL wrapper) |

Download: | CEA_Inpainting.tar.gz, CEA_PolarSpectrum.tar.gz |

Description: | A weak lensing mass-mapping tool. |

Notes: | Documentation: doc_fastlens.pdf |

The analysis of weak lensing data requires to account for missing data such as masking out of bright stars. To date, the majority of lensing analyses uses the two point-statistics of the cosmic shear field. These can either be studied directly using the two-point correlation function, or in Fourier space, using the power spectrum. The two-point correlation function is unbiased by missing data but its direct calculation will soon become a burden with the exponential growth of astronomical data sets. The power spectrum is fast to estimate but a mask correction should be estimated. Others statistics can be used but these are strongly sensitive to missing data.

The solution that is proposed by FASTLens is to properly fill-in the gaps with only NlogN operations, leading to a complete weak lensing mass map from which we can compute straight forwardly and with a very good accuracy any kind of statistics like power spectrum or bispectrum. The inpainting method relies strongly on the notion of sparsity and on the construction of sparse representations in large redundant dictionaries.

## Description

FASTLens (**Fa**st** ST**atistics for weak **Lens**ing) is a package written in C++ that includes:

- An inpainting code to derive complete weak lensing mass maps from incomplete shear maps

- A power spectrum estimator

- A bispectrum estimator (for equilateral and isoscele configurations)

We propose also a new method to compute fastly and accurately the power spectrum and the bispectrum with a polar FFT algorithm.

## User Manual

The **user manual **introduces the missing data problem in statistic estimation and presents the available routines. An accurate description of IDL routines is given.

## Downloads

The IDL FASTlens software requires IDL (version 6.0 or later) to be installed on your computer.

The binaries C++ called by IDL routines are not available under all the systems therefore you cannot use the package on all platforms. The supported platforms are : PC-Linux and Mac OS X.

Inpainting routines (inpainting for weak lensing)

Statistic routines (power spectrum and bispectrum estimators)

## References

FASTLens (FAst STatistics for weak Lensing) : Fast method for weak lensing statistics and map making, S. Pires, J.-L. Starck, A. Amara, A. Refregier and J. Fadili, MNRAS, 395, 1265-1279, 2009

## Acknowledging FASTLens

Please acknowledge use of the code in any resulting work, citing Pires, et al, 2009. We would be interested to collaborate with anyone requiring more advanced applications, and are always interested to hear about new applications. For questions and feedback or to be informed of the forthcoming versions, send an email to Sandrine Pires.

## Contact information

Authors:

- Sandrine Pires
- Jean-Luc Starck
- Adam Amara
- Alexandre Réfrégier
- Jalal Fadili

Last modified on January 6th, 2015 by Sandrine Pires

For questions and feedback or to be informed of the forthcoming versions, send an email to Sandrine Pires

## K-Inpainting

Authors: | S. Pires |

Language: | IDL |

Download: | K-Inpainting.tar |

Description: | An IDL inpainting code for asteroseismology |

Notes: | Requires iSAP installation |

See the **IRFU/DAp software page** for more details.