In this script, we put forward a Bayesian approach for fine-tuning input parameters of stochastic models applied to morphodynamic systems. This process leverages time series image data derived from fieldwork, as well as from numerical and laboratory experiments. The approach involves the creation of artificial time series of images using the stochastic model, and the rejection of those series which do not match key morphodynamic statistics of the data sets available. The fine-tuned stochastic model enables us to measure both the spatial and temporal uncertainties related to the progression of the morphodynamic systems under study.
We used in Python the packages ImageQuilting.jl
and Geostats.jl
that were developped by Julio Hoffimann.
To make this program running, you need :
- to download the
Arthur.yml
environnement, the five jupyter notebooks and the four Python files from this Github. Take care to put the Python files in the same folder as as the notebooks. - to install Anaconda or Mamba on your computer.
- to install the
Arthur.yml
environnement in Python. Open the Anaconda or the Mamba prompt and write the command :
conda env create -f Arthur.yml
or
mamba env create -f Arthur.yml
- to activate the environnement using the command :
conda activate Arthur
or
mamba activate Arthur
- to open Jupyter lab in the environnement. Just write :
jupyter lab
after you activated the environnement.
- to add all the necessary packages of Julia. Open the notebook
installPackages.ipynb
in the jupyter lab window and run it once.
The process is very easy to follow. You just have to open the four jupyter notebooks in the right order and follow the instructions. Here is the right order of the notebooks :
Clustering.ipynb
IQParameters.ipynb
Generation.ipynb
StatisticalValidation.ipynb
This script tries to replicate Julio Hoffimann's 2019 paper. We also include some extra tests and visualization. Hoffimann's work took inspiration from Céline Scheidt's article.