Giter Site home page Giter Site logo

lensquest's Introduction

lensQUEST (public beta v0.1)

An implementation quadratic estimator for lensing extraction of full-sky CMB data in python, following Okamoto & Hu's paper CMB Lensing Reconstruction on the Full Sky.

Installation

Prerequisites

The module requires an installation of HEALPix C++ (version 3.70). Furthermore, the python modules numpy, cython and healpy should be installed.

Compilation

The module can be easily installed with pip by executing

pip install . [--user]

in your local lensquest directory.

Quick Start

lensQUEST usage

  • maps: CMB maps (T or list of T,Q,U) or corresponding harmonic coefficients (T or list of T,E,B) in healpy format
  • wcl: Power spectra used in the weights of the quadratic estimator (array of TT or TT,EE,BB,TE power spectra)
  • dcl: Power spectra used in the Wiener-filter of the input fields (array of TT or TT,EE,BB,TE power spectra)
import lensquest

questhelper=lensquest.quest(maps, wcl, dcl, lmin=2, lmax=None, lminCMB=2, lmaxCMB=None)

questhelper.grad(XY)
# returns a_lm^Phi XY, where XY=TT,TE,EE,TB,EB or BB

lensquest.quest_norm(wcl, dcl, lmin=2, lmax=None, lminCMB=2, lmaxCMB=None, bias=False)
# returns dictionary of A_L (and N_L if bias=True) of TT or TT,TE,EE,TB,EB

Contact

Dominic Beck: dbeck [at] apc.in2p3.fr

License License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.