:orphan:
Random Field Generation
=======================
The main feature of GSTools is the spatial random field generator :any:`SRF`,
which can generate random fields following a given covariance model.
The generator provides a lot of nice features, which will be explained in
the following
GSTools generates spatial random fields with a given covariance model or
semi-variogram. This is done by using the so-called randomization method.
The spatial random field is represented by a stochastic Fourier integral
and its discretised modes are evaluated at random frequencies.
In case you want to generate spatial random fields with periodic boundaries,
you can use the so-called Fourier method. See the corresponding examples for
how to do that. The spatial random field is represented by a stochastic
Fourier integral and its discretised modes are evaluated at equidistant
frequencies.
GSTools supports arbitrary and non-isotropic covariance models.
Examples
--------
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_00_gaussian_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_00_gaussian.py`
.. raw:: html
A Very Simple Example
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_01_srf_ensemble_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_01_srf_ensemble.py`
.. raw:: html
Creating an Ensemble of Fields
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_02_fancier_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_02_fancier.py`
.. raw:: html
Creating Fancier Fields
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_03_unstr_srf_export_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_03_unstr_srf_export.py`
.. raw:: html
Using an Unstructured Grid
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_04_srf_merge_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_04_srf_merge.py`
.. raw:: html
Merging two Fields
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_05_mesh_ensemble_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_05_mesh_ensemble.py`
.. raw:: html
Generating Fields on Meshes
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_06_pyvista_support_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_06_pyvista_support.py`
.. raw:: html
Using PyVista meshes
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_07_higher_dimensions_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_07_higher_dimensions.py`
.. raw:: html
Higher Dimensions
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_08_fourier_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_08_fourier.py`
.. raw:: html
Generating a Simple Periodic Random Field
.. raw:: html
.. only:: html
.. image:: /examples/01_random_field/images/thumb/sphx_glr_09_fourier_trans_thumb.png
:alt:
:ref:`sphx_glr_examples_01_random_field_09_fourier_trans.py`
.. raw:: html
Generating a Transformed Periodic Random Field
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/examples/01_random_field/00_gaussian
/examples/01_random_field/01_srf_ensemble
/examples/01_random_field/02_fancier
/examples/01_random_field/03_unstr_srf_export
/examples/01_random_field/04_srf_merge
/examples/01_random_field/05_mesh_ensemble
/examples/01_random_field/06_pyvista_support
/examples/01_random_field/07_higher_dimensions
/examples/01_random_field/08_fourier
/examples/01_random_field/09_fourier_trans
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery