spacenet.point_patterns.helpers.integrated_poly_finite_kernel#

spacenet.point_patterns.helpers.integrated_poly_finite_kernel(r, w, d_1, d_2, delta_r=1.0, n=2.0, redistribution_scale=1.0, quadrature_order=16)#

Nearest-endpoint Gaussian weighted polynomial kernel integration for localised accessible space normalisation.

This is defined as:

\[\int_{0}^{w_{st}} q_{st}(x;c) \kappa_{\Delta r,n}(d_{st}(x)-r)\,dx\]

where \(q_{st}(x;c)\) is the nearest-endpoint Gaussian weighting function, \(\kappa_{\Delta r,n}\) is the polynomial kernel function, and \(d_{st}(x)\) is the shortest-path distance from point \(x\) on edge \(e_{st}\) to the reference node.

Parameters:
rfloat

Target geodesic separation.

wndarray

Edge lengths.

d_1, d_2ndarray

Endpoint shortest-path distances.

delta_rfloat

Polynomial kernel support radius.

nfloat

Positive real kernel exponent.

redistribution_scalefloat

Physical confidence length scale.

quadrature_orderint

Gauss-Legendre quadrature order.

Returns:
ndarray

Integrated contribution for each edge.

Notes

For more information, see the reference paper:

Moore et al. (2026). netPCF: Geometry-aware Pair Correlation Functions for Spatial Biology. DOI: https://doi.org/10.64898/2026.07.02.736020