wradlib.dp.unfold_phi#
- wradlib.dp.unfold_phi(phidp, rho, *, width=5, copy=False)[source]#
- wradlib.dp.unfold_phi(obj: Dataset, **kwargs)
Unfolds differential phase by adjusting values that exceeded maximum ambiguous range.
Accepts arbitrarily dimensioned arrays, but THE LAST DIMENSION MUST BE THE RANGE.
Uses the fast Fortran-based implementation if the speedup module is compiled.
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
, optional) – Width of the analysis window, defaults to 5.copy (
bool
, optional) – Leaves original phidp array unchanged if set to True (default: False)
- Returns:
phidp (
numpy.ndarray
) – array of shape (…, n azimuth angles, n range gates) reconstructed \(Phi_{DP}\)