This code does numerical simulations of gravitational lensing of the cosmic microwave background within 2D Cartesian space in Python. Faster than using spherical harmonics, and could be used for the flat-sky approximation. Lensing potential can be provided manually, or alternatively, the Navarro-Frenk-White (NFW) Dark Matter halo profile can be used with a True flag in the init class. Requires the numerical information field theory (NIFTY) package.
Remember to change the input/output parameters in FlatLensingProblem, in both the config and Testconfig classes. Rest of document should be fairly well documented. Sample input data provided, but feel free to try the test case.
Many thanks to my supervisors Stefan Hilbert and Torsten Enßlin. And of course, this would not have been possible without much imput and guidance from Vanessa Boehm, Maksim Greiner, Marco Selig, and all other members of the research group.
Writen in the summer of 2014 at the Max Planck Institute of Astrophysics, Garching bei Munchen.
TODO: Wiener Filter code should get an overview.
EXAMPLE (with some more unreasonable dimensions to demonstrate a more obvious effect):
TEST EXAMPLE (test in x direction):