GithubHelp home page GithubHelp logo

msyriac / pyfisher Goto Github PK

View Code? Open in Web Editor NEW
12.0 7.0 8.0 17.49 MB

Fisher forecasting for cosmological surveys

License: Other

Python 98.53% Makefile 1.47%
forecasting fisher cosmology cmb python

pyfisher's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyfisher's Issues

Does num_massive_neutrinos matter?

We need to check if num_massive_neutrinos of 1 (CAMB default) vs. 3 (Planck analysis) makes any significant difference to derivatives and/or Fisher forecasts. Easiest thing to do first would be to make new derivs with num_massive_neutrinos = 3 and see if you get the same constraints for a set of experiments that includes lensing Auto information from high-ell.

Compact parametrization doesn't exactly reproduce non-compact

I'm allowing for two ways to calculate the Fisher matrix, which under its current implementation should be identical for the case where no lensing data is added. The default is the compact = False version which uses FisherForecast.CovFromVecs. This is just an implementation of Eq.A.4 of 1509.07471 (or more explicitly, Eq 3 of 1109.6322). The compact = True option uses FisherForecast.CovFromVecsSmall, which is easier to extend to datasets involving cross-correlations with optical data (Eq.4 of 1402.4108). However, the numbers don't perfectly agree, so there's likely a bug somewhere.

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Galaxy spectra

Add cosmic shear and CMB x shear spectra for forecasting.

PyFisher lensInterface Issue(s)

We noticed that there were discrepancies between polarization estimator noise curves from pyfisher/lensInterface.lensNoise() and orphics.lensing.lensing_noise() functions.

nltest

Here the dashed lines are from lensInterface.lensNoise and the solid lines are from lensing.lensing_noise(). I am opening this issue to track the changes needed to be made to lensInterface.py

  1. L min for Kappa is hard-coded (https://github.com/msyriac/pyfisher/blob/master/pyfisher/lensInterface.py#L51)

  2. L max for Kappa set in param.ini is not being used (https://github.com/msyriac/pyfisher/blob/master/pyfisher/lensInterface.py#L55)

  3. Wrong function signature for getNlIterative (https://github.com/msyriac/pyfisher/blob/master/pyfisher/lensInterface.py#L68)

  • call from lensInterface.py
    myNls.getNlIterative(pols,kellmin,kellmax,tellmax,pellmin,pellmax,dell=dell,halo=True,plot=plot)

  • function definition in orphics/lensing.py
    def getNlIterative(self,polCombs,pellmin,pellmax,dell=20,halo=True,dTolPercentage=1.,verbose=True,plot=False,max_iterations=np.inf,eff_at=60,kappa_min=0,kappa_max=np.inf):

  1. Polarization l min and l max are not used in getNlIterative (It is probably better to open an issue about this on orphics repo).
    (https://github.com/msyriac/orphics/blob/master/orphics/lensing.py#L1218)

Step sizes for r and w

We should add derivatives w.r.t. tensor-scalar-ratio r and the equation of state of dark energy w, and also its dynamical component w_a. It would be nice to have a plot of C_ell around each parameter for a few representative ells, with the final chosen step size clearly shown (showing both linearity and numerical stability).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.