Skip to main content

projected angular correlation functions

Project description



GitHub Repository PyPI Status Documentation Status

The corfu library computes exact equal-time or unequal-time angular correlation functions and power spectra by projecting three-dimensional correlation functions or power spectra onto the sphere in real space.


Nicolas Tessore, Lucia F. de la Bella

Getting Started

Please refer to the documentation, where you can find


The easiest way to install the corfu module is via pip:

$ pip install corfu

You can install the corfu module from a local working directory, such as a repository clone:

$ cd corfu
$ ls    ...
$ pip install .

Alternative, the file is self-contained and can be copied to where it is required:

$ cd myproject
$ cp ../corfu/ .
$ python
>>> import corfu  # works


To project 3d (matter) correlation functions or power spectra along lines of sight and obtain angular correlation functions or angular power spectra:

  • Use the corfu.ptoxi() function to obtain the 3d (matter) correlation function from the 3d (matter) power spectrum.

  • Use the corfu.uneqt() function to obtain the projected angular correlation function from the 3d (matter) correlation function.

  • Use the corfu.wtocl() function to obtain the angular power spectrum from the angular correlation function.

For further guidance, see the documentation, and in particular the usage page. For an explanation of how the computation works, see the theory page.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corfu-0.1.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page