SimPEG.electromagnetics.static.resistivity.Survey.drape_electrodes_on_topography#

Survey.drape_electrodes_on_topography(mesh, ind_active, option='top', topography=None, force=False)[source]#

Shift electrode locations to discrete surface topography.

Parameters:
meshdiscretize.TensorMesh or discretize.TreeMesh

The mesh on which the discretized fields are computed

ind_activenumpy.ndarray of int or bool

Active topography cells

option :{“top”, “center”}

Define topography at tops of cells or cell centers.

topography(n, dim) numpy.ndarray, default = None

Surface topography

forcebool, default = False

If True force electrodes to surface even if borehole