lensed CMB sims pipe
Project description
# lenspyx
[](https://badge.fury.io/py/Lenspyx)[](https://lenspyx.readthedocs.io/en/latest)
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](https://lenspyx.readthedocs.io/en/latest) (which refers to the repo master branch). There is also a notebook [demo_lenspyx](examples/demo_lenspyx.ipynb) 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](https://gitlab.mpcdf.mpg.de/mtr/ducc) by M.Reinecke, with massive speed-ups and accuracy improvements (see [this paper](https://arxiv.org/abs/2304.10431)), 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
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](https://arxiv.org/abs/2304.10431).

Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lenspyx-2.0.52.tar.gz.
File metadata
- Download URL: lenspyx-2.0.52.tar.gz
- Upload date:
- Size: 333.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9088729373c967f2ae016184ae88fb51fd8746b1da687735898664947b6bae14
|
|
| MD5 |
9423166b671b3530527f01c9396f3e8d
|
|
| BLAKE2b-256 |
6480cf3d306cc0fac53e70f3c68d288af3ba0181c4e283f837c9380236b1e1bd
|
File details
Details for the file lenspyx-2.0.52-py3-none-any.whl.
File metadata
- Download URL: lenspyx-2.0.52-py3-none-any.whl
- Upload date:
- Size: 349.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
055dc3300ab328366ad2cbfab7b96750bc7b7cae7047700aad623192092cdce9
|
|
| MD5 |
fb9eafea5e59b7f5a92b7a3d85c82475
|
|
| BLAKE2b-256 |
e61b67858e1ccda0dd3a9ec9c986982e6d227035e368fc22329bfa58010b53f9
|