pyart.retrieve.kdp_leastsquare_single_window#

pyart.retrieve.kdp_leastsquare_single_window(radar, wind_len=11, min_valid=6, phidp_field=None, kdp_field=None, vectorize=False)[source]#

Compute the specific differential phase (KDP) from differential phase data using a piecewise least square method. For optimal results PhiDP should be already smoothed and clutter filtered out.

Parameters:
  • radar (Radar) – Radar object.

  • wind_len (int) – The lenght of the moving window.

  • min_valid (int) – Minimum number of valid bins to consider the retrieval valid

  • phidp_field (str) – Field name within the radar object which represent the differential phase shift. A value of None will use the default field name as defined in the Py-ART configuration file.

  • kdp_field (str) – Field name within the radar object which represent the specific differential phase shift. A value of None will use the default field name as defined in the Py-ART configuration file.

  • vectorize (bool) – whether to use a vectorized version of the least square method

Returns:

kdp_dict (dict) – Retrieved specific differential phase data and metadata.