watex.utils.exmath.betaj#

watex.utils.exmath.betaj(xj, L, W, **kws)[source]#

Weight factor function for convoluting at station/site j.

The function deals with the discrete hanning window based on ideas presented in Torres-Verdin and Bostick, 1992, https://doi.org/10.1190/1.2400625.

Parameters:
  • xj – int, position of the point to compute its weight.

  • W – int, window size, presumes to be the number of dipole.

  • L – int : length of dipole in meters

  • kws – dict , additional scipy.intergate.quad() functions.

Returns:

Weight value at the position xj, prefix-x`is used to specify the direction. Commonly the survey direction is considered as `x.

Example:
>>> from watex.exmath import betaj
>>> # compute the weight point for window-size = 5 at position j =2
>>> L= 1 ; W=5
>>> betaj (xj = 2 , L=L, W=W )
... 0.35136534572813144