Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyFisher lensInterface Issue(s) #17

Open
dwhan89 opened this issue May 13, 2018 · 0 comments
Open

PyFisher lensInterface Issue(s) #17

dwhan89 opened this issue May 13, 2018 · 0 comments

Comments

@dwhan89
Copy link

dwhan89 commented May 13, 2018

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant