Angular power spectra transformations for Gaussian fields (gaussiancl)

This is a minimal Python package for working with the angular power spectra of spherical random fields constructed by transforming Gaussian random fields.

It can solve for the Gaussian angular power spectrum that will yield a given target angular power spectrum under a given transformation, such as lognormal.

The package can be installed using pip:

pip install gaussiancl

Then import the gaussiancl() function from the package:

from gaussiancl import gaussiancl

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

Distributions

Lognormal

\[Y = e^X - \lambda\]
\[\alpha = {\rm E}[Y] + \lambda\]

Reference/API

gcllim

band-limited Gaussian cl transform

gaussiancl

Solve for a Gaussian angular power spectrum.

lognormal

lognormal correlations

lognormal_normal

lognormal cross normal correlations