Skip to content

samuelsimko/scarf

Repository files navigation

Scarf logo

Scarf

https://readthedocs.org/projects/scarfcmb/badge/?version=latest https://img.shields.io/badge/licence-MIT-brightgreen

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.