jammy_flows icon indicating copy to clipboard operation
jammy_flows copied to clipboard

Exact coverage calculation fails in the self.coverage_and_or_pdf_scan method

Open jvaracarbonell opened this issue 1 year ago • 2 comments

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.

jvaracarbonell avatar Sep 17 '24 14:09 jvaracarbonell

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

thoglu avatar Sep 17 '24 16:09 thoglu

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?

jvaracarbonell avatar Sep 17 '24 17:09 jvaracarbonell