simpeg.potential_fields.get_dist_wgt#
- simpeg.potential_fields.get_dist_wgt(mesh, receiver_locations, actv, R, R0)[source]#
Compute distance weights for potential field simulations.
- Parameters:
- mesh
discretize.BaseMesh A discretize mesh
- receiver_locations(
n, 3)numpy.ndarray Observation locations [x, y, z]
- actv(
n_cell)numpy.ndarrayofbool Active cells vector [0:air , 1: ground]
- R
float Decay factor (mag=3, grav =2)
- R0
float Stabilization factor. Usually a fraction of the minimum cell size
- mesh
- Returns:
- wr(
n_cell)numpy.ndarray Distance weighting model; 0 for all inactive cells
- wr(