pyart.retrieve.select_samples#

pyart.retrieve.select_samples(fm, rg, nbins=110, pdf_zh_max=20000, pdf_relh_max=10000, sigma_zh=0.75, sigma_relh=1.5, randomize=True, platykurtic_dBZ=True, platykurtic_H_ISO0=True)[source]#

Selects the data to be used to compute the centroids

Parameters:
  • fm (2D array (nsamples, nfeatures)) – Initial data

  • rg (Random Generator) – The random generator used to randomize the polarimetric variables

  • nbins (int) – Number of bins of the histograms used to make the data platykurtik

  • pdf_zh_max (int) – Multiplication factor to the Guassian function over the reflectivity that determines the number of samples for each bin

  • pdf_relh_max (int) – Multiplication factor to the Guassian function over the height relative to the iso-0 that determines the number of samples for each bin

  • sigma_zh, sigma_relh (float) – sigma of the respective Gaussian functions

  • randomize (bool) – if True the quantized data is randomized

  • platykurtic_dBZ (Bool) – If True makes the reflectivity distribution platykurtic

  • platykurtic_H_ISO0 (Bool) – If True makes the height relative to the iso-0 platykurtic

Returns:

fm_sample (2D array (nsamples, nfeatures)) – The selected data