Skip to main content

A cobaya low-ell likelihood polarized for planck

Project description

LoLLiPoP: Low-L Likelihood Polarized for Planck

GitHub Workflow Status pypi License: GPL v3

Lollipop is a Planck low-l polarization likelihood based on cross-power-spectra for which the bias is zero when the noise is uncorrelated between maps. It uses the approximation presented in Hamimeche & Lewis (2008), modified as described in Mangilli et al. (2015) to apply to cross-power spectra. This version is based on the Planck PR4 data. Cross-spectra are computed on the CMB maps from Commander component separation applied on each detset-split Planck frequency maps.

It was previously applied and described in

It is interfaced with the cobaya MCMC sampler.

Requirements

  • Python >= 3.5
  • numpy
  • astropy

Install

The easiest way to install the Lollipop likelihood is via pip

pip install planck-2020-lollipop [--user]

If you plan to dig into the code, it is better to clone this repository to some location

git clone https://github.com/planck-npipe/lollipop.git /where/to/clone

Then you can install the Lollipop likelihoods and its dependencies via

pip install -e /where/to/clone

The -e option allow the developer to make changes within the Lollipop directory without having to reinstall at every changes. If you plan to just use the likelihood and do not develop it, you can remove the -e option.

Installing Lollipop likelihood data

You should use the cobaya-install binary to automatically download the data needed by the lollipop.lowlE or lollipop.lowlB or lollipop.lowlEB likelihoods

cobaya-install /where/to/clone/examples/test_lollipop.yaml -p /where/to/put/packages

Data and code such as CAMB will be downloaded and installed within the /where/to/put/packages directory. For more details, you can have a look to cobaya documentation.

Likelihood versions

  • lowlE
  • lowlB
  • lowlEB

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

planck_2020_lollipop-4.1.1.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

planck_2020_lollipop-4.1.1-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file planck_2020_lollipop-4.1.1.tar.gz.

File metadata

  • Download URL: planck_2020_lollipop-4.1.1.tar.gz
  • Upload date:
  • Size: 48.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for planck_2020_lollipop-4.1.1.tar.gz
Algorithm Hash digest
SHA256 fa6c54d77583a631c0336c7acf2a25b158413e368769dd11cd609a1b17125654
MD5 f0968a6a96ce0ada94ddd1cdfb4b67c7
BLAKE2b-256 e8f2552b0a9621be258223203b0fbc2161c2a1e93131d27850524e5c6a8307a0

See more details on using hashes here.

File details

Details for the file planck_2020_lollipop-4.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for planck_2020_lollipop-4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b43b6a43601f9ca64bbdcef45df545df6bca5473f4e053d70e79c547be4cfc14
MD5 ecb4950bb5937003a088537963eea315
BLAKE2b-256 3a3e3a45aeb7084a064ac82d01f7d0e90e4650e82d91140416a2ad1697acdd90

See more details on using hashes here.

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