Do not return log p

This commit is contained in:
rstiskalek 2023-05-24 11:25:30 +01:00
parent 371b4bd057
commit 4eed5e1cc2

View file

@ -370,7 +370,7 @@ class NearestNeighbourReader:
# or equal to CSiBORG. # or equal to CSiBORG.
ks = kstest(ndist[i, :], cdf_interp[radial_cell], N=10000, ks = kstest(ndist[i, :], cdf_interp[radial_cell], N=10000,
alternative="greater", method="exact") alternative="greater", method="exact")
out[i] = numpy.log10(ks.pvalue) out[i] = ks.pvalue
return out return out