GithubHelp home page GithubHelp logo

cmb-s4 / lenspyx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carronj/lenspyx

0.0 0.0 0.0 9.87 MB

Curved-sky python lensed CMB maps simulation package

License: Other

Python 82.89% Fortran 17.11%

lenspyx's Introduction

lenspyx

PyPI versionalt textBuild Status

Curved-sky python lensed CMB maps simulation package by Julien Carron.

This allows one to build very easily lensed CMB simulations.

The package explicitly provides a few methods for most basic usage (such alm2lenmap and synfast). Check the doc (which refers to the repo master branch). There is also a notebook demo_lenspyx for examples and sanity checks.

There are further tools for CMB lensing reconstruction (adjoint lensing etc.) which may be useful to CMB-lensing intensive applications.

From v2 onwards (april 2023):

Lenspyx now essentially only wraps extremely efficient routines from DUCC by M.Reinecke, with massive speed-ups and accuracy improvements (see this paper), in a way incompatible to v1 which is now abandoned.

Required is ducc0 version >= 0.30.0. For best performance, please refer to the DUCC page for installation instructions making profit of compiler-specfic optimizations.

Installation

The code should hopefully be platform independent.

Editable installation from source: clone the repo and

pip install --no-binary ducc0 -e ./ [--user]

From pypi

pip install --no-binary ducc0 lenspyx [--user]

The –-user is required only if you don’t have write permission to your main python installation. The ducc0 installation without binaries might take a while (several minutes).

In case you use this package and also wish to acknowledge it, you can provide a reference to this paper.

SNSF logo

lenspyx's People

Contributors

antolonappan avatar carronj avatar

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.