diff --git a/README.rst b/README.rst index 7808577b..38a718f5 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ anesthetic: nested sampling post-processing =========================================== :Authors: Will Handley and Lukas Hergt -:Version: 2.5.1 +:Version: 2.5.2 :Homepage: https://github.com/handley-lab/anesthetic :Documentation: http://anesthetic.readthedocs.io/ diff --git a/anesthetic/_version.py b/anesthetic/_version.py index b8c54948..3bfa1a62 100644 --- a/anesthetic/_version.py +++ b/anesthetic/_version.py @@ -1 +1 @@ -__version__ = '2.5.1' +__version__ = '2.5.2' diff --git a/anesthetic/kde.py b/anesthetic/kde.py index 31e720a8..88ce375f 100644 --- a/anesthetic/kde.py +++ b/anesthetic/kde.py @@ -35,8 +35,9 @@ def fastkde_1d(d, xmin=None, xmax=None): d_ = mirror_1d(d, xmin, xmax) with warnings.catch_warnings(): warnings.simplefilter("ignore") - p, x = fastKDE.pdf(d_, axisExpansionFactor=f, - numPointsPerSigma=10*(2-f)) + p, x = fastKDE.pdf(d_, axis_expansion_factor=f, + num_points_per_sigma=10*(2-f), + use_xarray=False) p *= 2-f if xmin is not None: @@ -79,8 +80,9 @@ def fastkde_2d(d_x, d_y, xmin=None, xmax=None, ymin=None, ymax=None): with warnings.catch_warnings(): warnings.simplefilter("ignore") - p, (x, y) = fastKDE.pdf(d_x_, d_y_, axisExpansionFactor=f, - numPointsPerSigma=10*(2-f[0])*(2-f[1])) + p, (x, y) = fastKDE.pdf(d_x_, d_y_, axis_expansion_factor=f, + num_points_per_sigma=10*(2-f[0])*(2-f[1]), + use_xarray=False) p *= (2-f[0]) p *= (2-f[1])