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.TensorMeshordiscretize.TreeMesh
- The mesh on which the discretized fields are computed 
- active_cellsnumpy.ndarrayofintor 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 - topographyargument is not used in this function. It will be removed in SimPEG v0.27.0.
- forcebool, default=False
- If - Trueforce electrodes to surface even if borehole- Deprecated since version v0.25.0: The - forceargument 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 - optionis deprecated in favor of- topo_cell_cutoffand will be removed in SimPEG v0.27.0.
 
- mesh
 
