Giter VIP home page Giter VIP logo

sgs's Introduction

Sequential Gaussian Simulation

DOI

Have you ever wanted to generate a Gaussian field? This MATLAB script let you to easily create multiple conditional or unconditional 2D realizations of a Gaussian model of your choice.

Where to start?

The LiveScript script_SGS.m gives a nice overview of the different implementation of SGS available in this code.

Code is structure as follows. SGS.m is the main function, it explains the input and outpur format, it also check the input argument and redirect toward the appropriate implementation of SGS, as listed below:

This package provides different implementation of Sequential Gaussian Simulation, each tailored for another usage.

  • SGS_trad.m: the traditional alogrithm.
  • SGS_cst.m: the constant path algorithm.
  • SGS_cst_par.m: the constant path algorithm with parralelisation.
  • SGS_cst_par_cond.m: the constant path algorithm with conditional point.
  • SGS_hybrid.m: Hydrid constant/randomized path switching at a certain level of the Multi-grid path.
  • SGS_varcovar.m: Compute the full covariance matrice of the simulation.

What is SGS?

SGS stands for Sequential Gaussian Simulation, as its name suggest, it is a simulation algorithm which generate MultiGaussian field in an iterative manner. Mathematically written, it's purpuse is to create a realization equation from a random variable equation. The overall algo can be nicely summerized with:

equation

where equation is a standard Gaussian vector responsible to the randomness in the sampling of each value and equation are the kriging weights.

Which Simulation path to use for SGS?

My first study of SGS focused on better understanding the effect of the different simulation path, that is, the order in which the nodes are simulated. We also tried to provide some guideline on which path to avoir and which one to favor. In a nutshell, a simulation which maximizes the overall distance among the nodes during the simulation shows better performance than the one simulating consecutive nodes.

Oral Presentation

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2016). Sequential Simulation Path Biases and how to live with them? Geostat2016. Valencia. DOI:10.13140/RG.2.2.28356.68486.

Peer-reviewed Publication

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2017). Which Path to Choose in Sequential Gaussian Simulation. Mathematical Geosciences. 50(1), 97-120. DOI:10.1007/s11004-017-9699-5.

SGS with a Constant Path

In this second paper, I looked at a quite oftenly used technique which consist of using the same simulation path among multiple realizations. This is done in order to be able to reuse the same kriging weights for all realization, which in turn allows a quite drastic reduction of the computational cost. In this work we wanted to quantify the amount of bias added with this technique, and provide some recommendation on the implementation. We showed that these biases were quite unsignificant compared to the computational gain obtained. Have a look a the paper below for more detail. The script cst_path_paper/script_paper.m shows you how the figure were built.

Oral Presentation

Nussbaumer, Raphaël, Grégoire Mariethoz, Erwan Gloaguen, and Klaus Holliger. (2017). Constant path in SGS: Consequences and benefits. Spatial Statistics 2017. Lancaster. DOI:10.13140/RG.2.2.18290.35521.

Peer-reviewed Publication

Nussbaumer, Raphaël, Grégoire Mariethoz, Mathieu Gravey, Erwan Gloaguen, and Klaus Holliger. (2017). Accelerating Sequential Gaussian Simulation with a Constant Path. Computers & Geosciences. 112(2018),121-132. DOI:10.1016/j.cageo.2017.12.006.

Support or Contact

Having trouble with the code? Contact me.

Find the Project log on researchgate:

Image

sgs's People

Contributors

rafnuss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.