Skip to main content

Logo

corfu

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.

Maintainers:

Nicolas Tessore, Lucia F. de la Bella

Getting Started

Please refer to the documentation, where you can find

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.

Metadata

Release files for corfu 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for corfu 0.1.1
File Size Uploaded Provenance Actions
corfu-0.1.1.tar.gz 7.5 kB Without provenance Details for corfu-0.1.1.tar.gz

Release files / corfu-0.1.1.tar.gz

Download URL corfu-0.1.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9a2d173aab9925fd531eb44dd08b0f7af56f1b4e26d450d17c61895972017586
BLAKE2b-256 checksum
How to use checksums
0542a604468eae211c5e6678fdb5773d2c96690fd52fac1ef57353c848adf49c
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for corfu 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page