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:
- mesh
discretize.TensorMesh
ordiscretize.TreeMesh
The mesh on which the discretized fields are computed
- active_cells
numpy.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_active
numpy.ndarray
of
int
or bool,optional
Deprecated since version 0.23.0: Argument
ind_active
is deprecated in favor ofactive_cells
and will be removed in SimPEG v0.24.0.
- mesh