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:
meshdiscretize.BaseMesh

A discretize mesh

receiver_locations(n, 3) numpy.ndarray

Observation locations [x, y, z]

actv(n_cell) numpy.ndarray of bool

Active cells vector [0:air , 1: ground]

Rfloat

Decay factor (mag=3, grav =2)

R0float

Stabilization factor. Usually a fraction of the minimum cell size

Returns:
wr(n_cell) numpy.ndarray

Distance weighting model; 0 for all inactive cells