To get a local copy up and running follow these simple example steps.
To run the project, you will need to install the requisites from the python-integer-powers GitHub repo.
We will use it to generate the matrices in order to quickly evaluate 1-loop integrals.
You need Class
to generate the power spectra and the transfer functions.
You also need numpy
, matplotlib
, getdist
, scipy
, and tabulate
to plot the posteriors.
- Go to a new directory and clone the repo
git clone https://github.com/dbraganca/fisher-forecast.git
- Create a new
paths.json
using the example by selecting the paths you want for the ctabs,$k$ -dependent 1-loop bispectrum coefs, and the J-matrices for the power spectrum and bispectrum.
First, we need to generate all the make_EFT_kernels_with_bias.wl
.
This notebook generates the general bias kernels for the 1-loop power spectrum and the 1-loop bispectrum.
It will decompose each diagram kernel in so-called ctabs containing the exponents of
To make computation more efficient, we decompose each bias-dependent coefficient into a combination of
Second, go to the directory python-integer-powers/1. source/
and run python B1loop_bias.py
.
This will generate and save the
Third, run compute_Fisher_Surveys.wls
to compute Fisher matrices for each survey.
This script loads the necessary functions from FisherFunctions.wl
to calculate the Fisher matrices, but you still need to specify the values of the fiducial biases.
Computing the derivatives takes some time.
This script saves the Fisher matrices for each survey and for different specifications.
Finally, run Full_Fisher_Plots.ipynb
to plot the predicted posteriors.
- Feature 1
- Feature 2
- Feature 3
- Nested Feature
See the open issues for a full list of proposed features (and known issues).
Contributions are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request