https://github.com/cmbant/lensit

https://github.com/cmbant/lensit

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cmbant
  • License: other
  • Default Branch: master
  • Size: 4.69 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of carronj/LensIt
Created over 4 years ago · Last pushed over 4 years ago

https://github.com/cmbant/LensIt/blob/master/

# Lensit

[![PyPI version](https://badge.fury.io/py/lensit.svg)](https://badge.fury.io/py/lensit)[![alt text](https://readthedocs.org/projects/lensit/badge/?version=latest)](https://lensit.readthedocs.io/en/latest)[![Build Status](https://travis-ci.com/carronj/lensit.svg?branch=master)](https://travis-ci.com/carronj/lensit)

This is a set of python tools dedicated to CMB lensing and CMB delensing, by Julien Carron.

This code is essentially always using the flat-sky approximation. 
For similar tools in curved-sky geometry see [plancklens](https://github.com/carronj/plancklens)

Installation: in the repo directory,

     pip install -e . [--user]

This code uses [pyFFTW](https://github.com/pyFFTW/pyFFTW) by default for FFTs, based on FFTW. Sometimes it is simplest to work in a conda environment
and install all this with 

    conda install -c conda-forge pyfftw

**Main features are:**  
 - Maximum a posterior estimation of CMB lensing deflection maps from temperature and/or polarization maps.  
 (See https://arxiv.org/abs/1704.08230 by J.Carron and A. Lewis)  
 - Wiener filtering of masked CMB data and allowing for inhomogenous noise, including lensing deflections, using a multigrid preconditioner.  
 (Described in the same reference)
 - Fast and accurate simulation libraries for lensed CMB skies, and standard quadratic estimator lensing reconstruction tools.  
 (See https://arxiv.org/abs/1611.01446 by J. Peloton et al.)
 - CMB internal delensing tools, including internal delensing biases calculation for temperature and/or polarization maps.  
 (See https://arxiv.org/abs/1701.01712 by J. Carron, A. Lewis and A. Challinor)
 
Several parts were directly adapted from or inspired by qcinv [qcinv](https://github.com/dhanson/qcinv) and [quicklens](https://github.com/dhanson/quicklens) by Duncan Hanson, many thanks to him.

To use the GPU implementation of some of the routines, you will need [pyCUDA](https://mathema.tician.de/software/pycuda)

An ipython notebook 'demo_basics.ipynb' covers the simple aspects of building simulation librairies.

The notebook 'demo_lensit.ipynb' shows an example of iterative lensing map reconstruction for a configuration roughly in line with CMB Stage IV specifications.


Other example and tests scripts might follow, or you may just write to me.

![alt text](https://erc.europa.eu/sites/default/files/content/erc_banner-vertical.jpg)
![SNSF logo](./docs/SNF_logo_standard_web_color_neg_e.svg)

Owner

  • Name: Antony Lewis
  • Login: cmbant
  • Kind: user
  • Company: University of Sussex

GitHub Events

Total
Last Year