endas.localization.TaperFn

class endas.localization.TaperFn

Bases: object

Covariance tapering function.

Tapering functions are used for distance-based localization of the analysis update by adjusting the influence of observations based on their distance.

support_range

Support range of the tapering function, i.e. the distance d at which the tapering coefficient becomes zero.

taper(x, d, out=None)

Tapers the vector x based on corresponding distances d.

Tapering means multiplying each element x_i in the array x by weight w(d_i), where d_i is the distance assigned to the element x_i.

Parameters:
  • x – The array to taper
  • d – The distances assigned to elements in x
  • out – Array where to store the result or None. If given, must have same shape as x
Returns:

The tapered array.