samuelsimko / scarf

Spherical Harmonic Transforms for CMB lensing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scarf logo

Scarf

image

image

image

image

About

Scarf is a Spherical Harmonic Transform library designed for CMB lensing applications.

The repository uses DUCC for the calculations.

Using binders to the DUCC source code, it provides functions that allow users to easily do transforms on portions of the sky or custom maps.

Features

  • Custom creation of map geometries with user-specified parameters
  • Forward and backward SHTs with sky cut and arbitrary spin parameters on custom or predefined geometries
  • Transforms from and to Legendre coefficients (phase)

Installation

$ git clone --recurse-submodules https://github.com/samuelsimko/scarf
$ pip install -r requirements.txt
$ cd scarf
$ pip install --user .

Documentation

Scarf's documentation can be found here.

About

Spherical Harmonic Transforms for CMB lensing

License:GNU General Public License v2.0


Languages

Language:C++ 57.0%Language:C 23.2%Language:Python 19.8%