A method to construct statistical prior models of geology for probabilistic inversion of geophysical data