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

Exact coverage calculation fails in the self.coverage_and_or_pdf_scan method #6

Open
jvaracarbonell opened this issue Sep 17, 2024 · 2 comments

Comments

@jvaracarbonell
Copy link

When exact_coverage_calculation is set to true, an error occurs because the number of pdf_evals obtained from get_multiresolution_evals does not correspond to a fixed number of pixels associated with a given nside in HEALPix. This results in an error, as seen.

@thoglu
Copy link
Owner

thoglu commented Sep 17, 2024

can you use a workaround for now? I have this function fixed in a version on my local machine, but it is not pushed yet

@jvaracarbonell
Copy link
Author

jvaracarbonell commented Sep 17, 2024

Yes, I think I fixed it by parsing sample_points=eval_positions here. However, I now get a different error: AttributeError: module 'jammy_flows.helper_fns.contours' has no attribute 'find_closest_contour'. Due to this. Do you know if that function might have a different name in the GitHub version?

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

2 participants