Mapping dark matter on the celestial sphere
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

massmappy - a code to generate mass maps from galaxy shear measurements

Code Authors:

Main Author: Christopher G R Wallis (christophergrwallis@gmail.com)

Useful and necessary contributions:
Code used for the papers:
  • "Mapping dark matter on the celestial sphere with weak gravitational lensing", Christopher G. R. Wallis, Jason D. McEwen, Thomas D. Kitching, Boris Leistedt and Antoine Plouviez arXiv:1703.09233 https://arxiv.org/abs/1703.09233
Installation:

For some of the functions healpy must be installed (https://healpy.readthedocs.io/en/latest/). This is not necessary for all the code so can be skipped if you do not want to use the HEALPix sampling scheme.

To install (if you have healpy) run:

python setup.py build_ext --inplace

To install (if you do not have healpy) run:

python setup_no_healpy.py build_ext --inplace

Dependances:
  • numpy
  • matplotlib
  • libc
  • pyssht www.spinsht.org
  • healpy (only needed for certain functions)
Documentation

Look at Documentation.md for a description of all the functions

Directories:
  • src/ : Contains all the code
  • python/ : Contains all the python code
    • DES_mass_map.py : Analyses the DES data and generates plots in Figures 5-7 and B3
    • cy_mass_mapping.pyx : General code base for sherical mass mapping using ssht and planar mass mapping
    • low_res_examples.py : Code to generate Figures 2 and 3 and Table 1
    • mass_mapping.py : Example code that is fast to run showing mass mapping on the sphere
    • cy_DES_utils.pyx : Code to generate shear maps from the measured galaxy shapes
    • cy_healpy_mass_mapping.pyx : Code for making spherical mass maps using healpix
    • cy_mass_mapping.pxd : Supporting functions
    • high_res_error.py : Code to generate Figure 4
    • plot_high_res.py : Code to generate Figure 4
  • mask_plots/ : Contains plots of the servey areas of some past present and future weak lensing experiments
  • fig/ : Contains figures generated by the code
  • data/ : Contains data used/made by the code
    • DES.mat All the necessary parts of the DES SV public cataloge used in the code
    • cell_icosmo.txt An example cosmic shear power spectrum generated by cosmosis
    • cls_ap.txt Interpelated power spectrum used by the code
    • high_res_results/ Example results from high_res_error.py
    • reduced_shear_iteration.txt Reduced shear results from low_res_examples.py