An open API service indexing awesome lists of open source software.

https://github.com/msyriac/pyfisher

Fisher forecasting for cosmological surveys
https://github.com/msyriac/pyfisher

cmb cosmology fisher forecasting python

Last synced: 7 months ago
JSON representation

Fisher forecasting for cosmological surveys

Awesome Lists containing this project

README

          

========
pyfisher
========

.. image:: https://img.shields.io/pypi/v/pyfisher.svg
:target: https://pypi.python.org/pypi/pyfisher

.. image:: https://img.shields.io/travis/msyriac/pyfisher.svg
:target: https://travis-ci.org/msyriac/pyfisher

.. image:: https://readthedocs.org/projects/pyfisher/badge/?version=latest
:target: https://pyfisher.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

Fisher forecasting for cosmological surveys

pyfisher is a python package for calculating Fisher matrices and for forecasting parameter uncertainties for cosmological surveys.

🟥 **Version 2 is a total revamp, so if you're used to what this software looked like before November 2020, you should switch to the ``legacy`` branch.**

While the new version does not (yet) provide an interface for CMB lensing noise curves with iterative
delensing like the old one did, it has a simplified API, lots of pre-calculated
Fishers, and a tool to reparametrize into a σ8 parameterization.

* Free software: BSD license
* Documentation: https://pyfisher.readthedocs.io.

Installation
------------

Install in two steps:

1. Git clone the repository
2. ``cd`` into the repository and run ``pip install -e . --user``.

The latter step just copies symbolic links to the relevant modules into a directory (managed by pip) that is in your python path.

Once this is done, you should be able to do things like

.. code-block:: python

import pyfisher

from anywhere on your system.

Basic Usage
-----------

See and run ``python tests/test_lensing.py`` to reproduce Planck constraints and get a feel for how to use this package.