geopfa.extrapolation.compute_global_radius

compute_global_radius(X_std)[source]

Compute a global spatial radius for standardized 2D coordinates.

This is used to construct stable, dataset-independent kernel lengthscale bounds by estimating the largest half-extent of the standardized domain.

Parameters:

X_std (numpy.ndarray) – Standardized training coordinates, shape (N, 2). Each row is [x, y].

Returns:

float – The global radius of the dataset in standardized space, defined as half of the larger of the x-range or y-range.

Notes

  • The input must already be standardized (e.g., via standardize_xy).

  • This radius is used to derive lower and upper bounds for ARD lengthscales.