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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d48a9da5b277ad2d5fa9dc7c9a72449596bd417762657c7f4d63b4bc79a90515
|
|
| MD5 |
c0679643269ecdc5608736b24b44a6cf
|
|
| BLAKE2b-256 |
42b6252618b7cdeddb79e4e178d7a84fbe7aebfd097f105038c04b41602e2f1a
|
Provenance
The following attestation bundles were made for fisher_a2z-0.3.0.tar.gz:
Publisher:
pypi-publish.yml on LSSTDESC/fisherA2Z
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fisher_a2z-0.3.0.tar.gz -
Subject digest:
d48a9da5b277ad2d5fa9dc7c9a72449596bd417762657c7f4d63b4bc79a90515 - Sigstore transparency entry: 2294566913
- Sigstore integration time:
-
Permalink:
LSSTDESC/fisherA2Z@2b4c740f9bec040978f5d1091d4790e25f83aa08 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/LSSTDESC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@2b4c740f9bec040978f5d1091d4790e25f83aa08 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca2936ae179a2441d7736d26e8b4532d5fa04454e357b60cb60cc968fa65f4b8
|
|
| MD5 |
5084c21148fa18cb368f62c98a78b5ac
|
|
| BLAKE2b-256 |
3fea6e6076c2e3f57c6e85dfa85901df38fa6f2fd779cb6eda1cd82a14461515
|
Provenance
The following attestation bundles were made for fisher_a2z-0.3.0-py3-none-any.whl:
Publisher:
pypi-publish.yml on LSSTDESC/fisherA2Z
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fisher_a2z-0.3.0-py3-none-any.whl -
Subject digest:
ca2936ae179a2441d7736d26e8b4532d5fa04454e357b60cb60cc968fa65f4b8 - Sigstore transparency entry: 2294566933
- Sigstore integration time:
-
Permalink:
LSSTDESC/fisherA2Z@2b4c740f9bec040978f5d1091d4790e25f83aa08 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/LSSTDESC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@2b4c740f9bec040978f5d1091d4790e25f83aa08 -
Trigger Event:
release
-
Statement type: