Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 2.31 KB

README.md

File metadata and controls

52 lines (29 loc) · 2.31 KB

CmbRecTool

The Library has been written by Fortran90 to reconstruct lensing potential, cosmic bi-refrimgence, and patchy reionization from cosmic microwave background anisotropies (CMB) in full and flat sky. The Library also includes subrotuines for delensing, bi-spectrum calculation, and so on. Installing this library at NERSC is straightforward, but the library also works at other environment.

Python modules are also available at https://github.com/toshiyan/cmblensplus

Installation

  1. The code assumes "ifort" (intel fortran compiler) as a fortran compiler.

  2. Go to "pub" directory, and install each pubclic package (FFTW, Healpix, LAPACK and cfitsio). The clibrary utilizes static links to those packages.

  3. Go to the top directory, and type "./MALEALL.sh install".

  4. You will find the Library at "lib" and "mod" directories.

  5. To use some example codes, you also need "pylib/makefile.py" to create a Makefile if no Makefle exists.

Test

You can test the library by using the example codes at "examples" directory. At each subdirectory, you need to compile each code by just typying "make" (you do need to edit each Makefile). Then you can run each code by "./exe" or "./exe params.ini" where exe is an executable file.

References

In flat sky analysis, the verification of the source code is given in

For full sky analysis, the library also supports the subroutines for the lensing reconstruction, patchy reionization reconstruction and delensing as shown in

The algorithm written in nldd/xxx.f90 is described in doc/note.pdf

Acknowledgment

The library software uses the following public codes: FFTW, HEALPix, LAPACK, CFITSIO and also part of CAMB subroutines.

Contact

namikawa at slac.stanford.edu