SimPEG.electromagnetics.static.utils.genTopography#

SimPEG.electromagnetics.static.utils.genTopography(mesh, zmin, zmax, seed=None, its=100, anisotropy=None)[source]#

Generate random topography

Parameters:
meshdiscretize.BaseMesh

A 2D or 3D mesh

zminfloat

Minimum topography [m]

zmaxfloat

Maximum topography [m]

seedint, default=``None``

Set the seed for the random generated model or leave as None

itsint, default=100

Number of smoothing iterations after convolutions

anisotropy(3, n) numpy.ndarray, default=``None``

Apply a (3, n) blurring kernel that is used or leave as None in the case of isotropy.