Exporting Fields

GSTools provides simple exporting routines to convert generated fields to VTK files.

These can be viewed for example with Paraview.

import gstools as gs

x = y = range(100)
model = gs.Gaussian(dim=2, var=1, len_scale=10)
srf = gs.SRF(model)
field = srf((x, y), mesh_type="structured")

The result displayed with Paraview:


Total running time of the script: ( 0 minutes 0.493 seconds)

Gallery generated by Sphinx-Gallery