Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.17 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.17 KB

transformcl

Transform angular power spectra and correlation functions.

This is a minimal Python package for transformations between angular power spectra and correlation functions. It is currently limited to the spin zero case.

The package can be installed using pip:

pip install transformcl

Then import the package to use the functions:

import transformcl
t = transformcl.theta(cl.size)
ct = transformcl.corr(cl)

For more information, please see the documentation.

Current functionality covers the absolutely minimal use case. Please open an issue on GitHub if you would like to see anything added.

Backends

The transformcl package supports multiple transform backends. The current backend can be changed globally by assigning to transformcl.backend:

transformcl.backend = "<choice>"
...

or using the transformcl.use() context manager:

with transformcl.use("<choice>"):
    ...

The list of available backends can be found in the documentation.