SimPEG.electromagnetics.static.utils.genTopography#
- SimPEG.electromagnetics.static.utils.genTopography(mesh, zmin, zmax, seed=None, its=100, anisotropy=None)[source]#
Generate random topography
- Parameters
- mesh
discretize.BaseMesh
A 2D or 3D mesh
- zmin
float
Minimum topography [m]
- zmax
float
Maximum topography [m]
- seed
int
, default=``None`` Set the seed for the random generated model or leave as
None
- its
int
, 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.
- mesh