powered by
Random Fourier phases are added to the input spectrum f and an inverse FFT transform to real space is performed.
f
metagauss(f)
matrix with complex spectral amplitudes generated with the initmetagauss() function.
initmetagauss()
A metagaussian field with random Fourier phases.
# NOT RUN { f = initmetagauss(1.7, 64) z = metagauss(f) sd(z) # [1] 1.000122 # }
Run the code above in your browser using DataLab