wradlib.util.calculate_polynomial

wradlib.util.calculate_polynomial(data, w)

Calculate Polynomial

The functions calculates the following polynomial:

\[P = \sum_{n=0}^{N} w(n) \cdot data^{n}\]

New in version 0.10.0.

Parameters:
Returns:

poly (numpy.ndarray) – Flat array of processed data.