pwtools.rbf.core.estimate_p

pwtools.rbf.core.estimate_p(points, method='mean')[source]

Estimate \(p\).

Parameters:

method (str) –

‘mean’ : \(1/M^2\,\sum_{ij} R_{ij}; M=\texttt{points.shape[0]}\)
’scipy’ : mean nearest neighbor distance