pygtc icon indicating copy to clipboard operation
pygtc copied to clipboard

order of operations in __plot2D

Open abmantz opened this issue 4 years ago • 1 comments

I see in __plot2D that the Gaussian smoothing is done after normalizing and finding the contour levels to show. Seems like it would be more consistent to use the smoothed density estimate throughout. In particular, if the smoothing is not conservative, the contour levels may be thrown off noticeably at ~2 sigma and higher.

abmantz avatar Sep 08 '20 21:09 abmantz

Thanks Adam, that is a very sensible suggestion. In hindsight I guess there's no good reason to have done the inverse. Let me look into this!

SebastianBocquet avatar Sep 18 '20 08:09 SebastianBocquet