Thanks Karl, nice you want to help. In SpecData1D.sim() there are two options to create time histories:
1) Approximate (replicates PSD approximately): i.e. the conventional IFFT way
2) Exact (replicates PSD exactly) through circulant embedding (CE) techniques.
With regard to SpecData2D.sim(), there's CE code available for multivariate Gaussian (random field) simulation (e.g.
www.hermir.org) but most of it is either written in Matlab or in R. Saving the rewrite I think straight linking with some Fortran, C/C++ code would be nicer/faster and quicker to implement. What do you think?
-- Henk