
Random-phase spectral simulation of an isotropic Gaussian random field
Source:R/RandomPhaseField.R
RandomPhaseField.Rd\(f(s) = \sqrt{2\,sill/M} \sum_m \cos(\omega_m \cdot s + \phi_m)\) with
uniform phases and wave vectors from the normalised spectral density
(Shinozuka 1971; Shinozuka and Deodatis 1991), so the covariance is
exactly \(sill\,\rho(h)\). Radius quantiles: gaussian
\((2/a)\sqrt{-\log U}\); matern (exponential = nu 1/2)
\(\sqrt{U^{-1/\nu} - 1}/a\); uniform direction. Uniforms are Philox
streams 0, 1, 2 of seed, identical to the Python arm.
Usage
RandomPhaseField(
coords,
cov_model = "exponential",
sill = 1,
range_ = 1,
nu = 0.5,
n_waves = 500L,
seed = 1L
)