Skip to main content

A Fisher forecasting code for the LSST 3x2pt analysis

Project description

fisherA2Z

Introduction

FisherA2Z is a Fisher forecasting code initially developed by Husni Almoubayyed for his PhD thesis Chapter 4. Tianqing Zhang refurbished the code in 2024 and prepared Zhang et al in prep. "A2Z" stands for the initial of Almoubayyed and Zhang.

This repository includes code used for the Fisher Information matrix computation used to assess the impact of photo-z modeling errors on 3x2pt inferences.

Installation

First, initialize a conda environment by

conda create -n 'fisher_env' python=3.8
conda activate fisher_env

Clone the repository, and install from source by

pip install -e .

Then you can add your conda environment to your jupyterLab by

conda install -c anaconda ipykernel
python -m ipykernel install --user --name=fisher_env

Code

The majority of the code is in fisher.py, and the Fisher class therein.

The Fisher class takes a CCL cosmo object and 3 iterables of length 5 each to specify the photo-z error model in terms of biases, standard deviations, and outlier fractions.

Examples

To get the fisher matrix for a certain case, it is sufficient to run

from fisher import Fisher
f = Fisher(cosmo=ccl_cosmo)
f.process()

then the Fisher information matrix will be stored in f.fisher.

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

fisher_a2z-0.3.0.tar.gz (16.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fisher_a2z-0.3.0-py3-none-any.whl (14.2 MB view details)

Uploaded Python 3

File details

Details for the file fisher_a2z-0.3.0.tar.gz.

File metadata

  • Download URL: fisher_a2z-0.3.0.tar.gz
  • Upload date:
  • Size: 16.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fisher_a2z-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d48a9da5b277ad2d5fa9dc7c9a72449596bd417762657c7f4d63b4bc79a90515
MD5 c0679643269ecdc5608736b24b44a6cf
BLAKE2b-256 42b6252618b7cdeddb79e4e178d7a84fbe7aebfd097f105038c04b41602e2f1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fisher_a2z-0.3.0.tar.gz:

Publisher: pypi-publish.yml on LSSTDESC/fisherA2Z

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fisher_a2z-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fisher_a2z-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fisher_a2z-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca2936ae179a2441d7736d26e8b4532d5fa04454e357b60cb60cc968fa65f4b8
MD5 5084c21148fa18cb368f62c98a78b5ac
BLAKE2b-256 3fea6e6076c2e3f57c6e85dfa85901df38fa6f2fd779cb6eda1cd82a14461515

See more details on using hashes here.

Provenance

The following attestation bundles were made for fisher_a2z-0.3.0-py3-none-any.whl:

Publisher: pypi-publish.yml on LSSTDESC/fisherA2Z

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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