simpeg.electromagnetics.static.resistivity.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.TensorMeshordiscretize.TreeMesh The mesh on which the discretized fields are computed
- active_cells
numpy.ndarrayofintor 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
Trueforce electrodes to surface even if borehole- ind_active
numpy.ndarrayofintor bool,optional Deprecated since version 0.23.0: Argument
ind_activeis deprecated in favor ofactive_cellsand will be removed in SimPEG v0.24.0.
- mesh