pyart.util.get_ivic_flat_reg_var_max#

pyart.util.get_ivic_flat_reg_var_max(npulses, flat_reg_wlen, n=40.0, prob_thr=0.01)[source]#

Get the threshold for maximum local variance of noise [dB]

Parameters:
  • npulses (1D array) – array with the number of pulses in a ray

  • flat_reg_wlen (int) – the length of the flat region window in bins

  • n (float) – the mean noise power

  • prob_thr (float) – Probably of falsely detecting noise-only flat section as contaminated with signal

Returns:

var_thr (1D array) – The thresholds corresponding to each number of pulses