projected angular correlation functions
Project description
corfu
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.
- Maintainers:
Nicolas Tessore, Lucia F. de la Bella
Getting Started
Please refer to the documentation, where you can find
the theory behind the corfu package,
results to demonstrate that the package works as intended,
an explanation of how to use the package, and
the function reference.
Installation
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 corfu.py setup.py ... $ pip install .
Alternative, the corfu.py file is self-contained and can be copied to where it is required:
$ cd myproject $ cp ../corfu/corfu.py . $ python >>> import corfu # works
Usage
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file corfu-0.1.1.tar.gz
.
File metadata
- Download URL: corfu-0.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2d173aab9925fd531eb44dd08b0f7af56f1b4e26d450d17c61895972017586 |
|
MD5 | be682a7db8f8d7d62dd039de284c4454 |
|
BLAKE2b-256 | 0542a604468eae211c5e6678fdb5773d2c96690fd52fac1ef57353c848adf49c |