pyart.retrieve.synthetic_obs_distribution#

pyart.retrieve.synthetic_obs_distribution(rg, var_names, hydro_names, band='C', relh_slope=0.001, par_var=0.05)[source]#

Gets the samples corresponding to the theoretical probability density function of each hydrometeor and variable

Parameters:
  • rg (Random generator) – The random generator used to generate samples of a uniform distribution

  • var_names (1D-array) – Name of the variables

  • hydro_names (1D-array) – Name of the hydrometeor types

  • nsamples (int) – Number of samples for each distribution

  • band (str) – Frequency band of the radar data. Can be C, S or X

  • relh_slope (float) – The slope used to transform the height relative to the iso0 into a sigmoid function.

  • par_var (float) – Variability of each parameter of the membership function.

Returns:

synthetic_obs (dict of dicts) – dictionary of type dict[var_name][hydro_name] with the samples corresponding to each distribution