Skip to main content

lensed CMB sims pipe

Project description

# lenspyx

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

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 two methods for most basic usage. Check the [doc](https://lenspyx.readthedocs.io/en/latest). There is also an example notebook [demo_lenspyx](examples/demo_lenspyx.ipynb).

There are further tools for CMB lensing reconstruction (adjoint lensing etc.)

From v2 onwards (april 2023):

Lenspyx now essentially only wraps extremely efficient routines from [DUCC](https://gitlab.mpcdf.mpg.de/mtr/ducc) by M.Reinecke, with massive speed-ups and accuracy improvements (see Reinecke, Belkner & Carron 2023), 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](https://gitlab.mpcdf.mpg.de/mtr/ducc) for installation instructions making profit of compiler-specfic optimizations.

### Installation

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.

![SNSF logo](./docs/SNF_logo_standard_web_color_neg_e.svg)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lenspyx-2.0.5.tar.gz (333.2 kB view hashes)

Uploaded Source

Built Distribution

lenspyx-2.0.5-py3-none-any.whl (338.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page