Closed jgducoin closed 5 years ago
Be careful, I just checked that the outputted distmu distsigma distnorm from the ligo.skymap.dist.ud_grade() seems ok (and it it). But i did not go into details, for sure more tests need to be done. Also it seems like this function is changing the outputs when the nside your ask for is already the nside of the input. So i added a security in the last commit which prevent to use this function when the nside is already the needed one.
Fixing #18 by using the
ligo.skymap.dist.ud_grade()
function instead of the healpy one.