simpeg.electromagnetics.static.spontaneous_potential.Survey.drape_electrodes_on_topography#

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

Shift electrode locations to discrete surface topography.

Parameters:
meshdiscretize.TensorMesh or discretize.TreeMesh

The mesh on which the discretized fields are computed

active_cellsnumpy.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

ind_activenumpy.ndarray of int or bool, optional

Deprecated since version 0.23.0: Argument ind_active is deprecated in favor of active_cells and will be removed in SimPEG v0.24.0.