wradlib.dp.DpMethods.kdp_from_phidp#
- DpMethods.kdp_from_phidp(*, winlen=7, **kwargs)[source]#
Retrieves \(K_{DP}\) from \(Phi_{DP}\).
Parameter#
- obj
xarray.DataArray
DataArray containing differential phase
- keyword winlen
window length
- kwtype winlen
- keyword method
Defaults to ‘lanczos_conv’. Can also take one of ‘lanczos_dot’, ‘lstsq’, ‘cov’, ‘cov_nan’, ‘matrix_inv’.
- kwtype method
- keyword skipna
Defaults to True. Local Linear regression removing NaN values using valid neighbors > min_periods
- kwtype skipna
- keyword min_periods
Minimum number of valid values in moving window for linear regression. Defaults to winlen // 2 + 1.
- kwtype min_periods
- returns
out (
xarray.DataArray
) – DataArray
- obj