simpeg.electromagnetics.static.self_potential.Survey.drape_electrodes_on_topography#

Survey.drape_electrodes_on_topography(mesh, active_cells, topo_cell_cutoff='top', shift_horizontal=True, option=None, **kwargs)[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

topo_cell_cutoff{“top”, “center”}

Define topography at tops of cells or cell centers.

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

Surface topography

Deprecated since version v0.25.0: The topography argument is not used in this function. It will be removed in SimPEG v0.27.0.

forcebool, default = False

If True force electrodes to surface even if borehole

Deprecated since version v0.25.0: The force argument is not used in this function. It will be removed in SimPEG v0.27.0.

shift_horizontalbool

When True, locations are shifted horizontally to lie vertically over cell centers. When False, the original horizontal locations are preserved.

option{“top”, “center”}

Define topography at tops of cells or cell centers.

Deprecated since version 0.25.0: Argument option is deprecated in favor of topo_cell_cutoff and will be removed in SimPEG v0.27.0.