Closed ggreco77 closed 5 years ago
What a coincidence. I just wrote a native HEALPix contouring algorithm because I needed paths that had the correct topology regardless of map projection boundaries.
Great coincidence. The _bayestar_contourallsky function is part of LALInference. Can I use pip to install such module?
No.
https://www.lsc-group.phys.uwm.edu/daswg/docs/howto/lal-install.html for installing LALSuite software.
A version without the above dependency could be achieved by changing i) prob, = fits.read_skymap(infilename, nest=True) --> _prob = hp.readmap(infilename, nest=True) ii) inclosing postprocess.py from http://software.ligo.org/docs/lalsuite/lalinference/postprocess_8py_source.html iii) and commenting the Smooth option.
A paragraph that explains how to make contour plot in a Healpix skymap is recommended. Even better a function that would do this with a single command line based on _healpy.get_interpval.
Thanks, Giuseppe