pysal.explore.spaghetti.ffunction

pysal.explore.spaghetti.ffunction(nearest, lowerbound, upperbound, npts, nsteps=10)[源代码]

计算f函数

参数:
nearest : numpy.ndarray

最近邻距离的向量。

lowerbound : int或浮动

序列的起始值。

upperbound : int或浮动

序列的结束值。

npts : 利息

pointpattern.npoints

nsteps : 利息

距离带的数目。默认值为10。必须为非负。

返回:
x : numpy.ndarray

X轴值

y : numpy.ndarray

值的Y轴