wradlib.dp.unfold_phi#
- wradlib.dp.unfold_phi(phidp, rho, width=5, copy=False)[source]#
Unfolds differential phase by adjusting values that exceeded maximum ambiguous range.
Accepts arbitrarily dimensioned arrays, but THE LAST DIMENSION MUST BE THE RANGE.
This is the fast Fortran-based implementation (RECOMMENDED).
The algorithm is based on the paper of [Wang et al., 2009].
- Parameters:
phidp (
numpy.ndarray
) – array of shape (…,nr) with nr being the number of range binsrho (
numpy.ndarray
) – array of same shape asphidp
width (
int
) – Width of the analysis windowcopy (
bool
) – Leaves originalphidp
array unchanged if set to True (default: False)