For the estimation of the pair correlation function, short sequences of gaze positions from single experimental trials were considered. However, spatial inhomogeneity of the 2D density was taken into account. To obtain a reliable estimate of the spatial inhomogeneity, the 2D density was estimated from the full data-set (
Figure 1a) of all fixations on a given image taken from all participants and trials. It is important to note, however, that in the computation of the kernel density estimate
λ̂(
x) used for the inhomogeneous pair correlation function,
Equation (4), an optimal bandwidth parameter
h is needed to avoid two possible artifacts: First, if
h is very small, then spatial correlations might be underestimated due to overfitting of the inhomogeneity of the density. Second, if
h is too large, then spatial correlations might be overestimated, since first-order inhomogeneity is not adequately removed from the second-order spatial statistics. We solved this problem by computing the PCF deviation Δ
g for the inhomogeneous point process for varying values of the bandwidth
h (
Figure 2). Since the inhomogeneous point process generates uncorrelated fixations, i.e.,
gtheo(
r) = 1, the optimal bandwidth for the dataset corresponds to a minimum of the PCF deviation Δ
g (quantifying the deviation from the ideal value
g(
r) = 1). For image set 1, the optimal value was estimated as
ĥ1 = 4.0° (
Figure 2a).