pyart.correct.smooth_masked#

pyart.correct.smooth_masked(raw_data, wind_len=11, min_valid=6, wind_type='median')[source]#

smoothes the data using a rolling window. data with less than n valid points is masked.

Parameters:
  • raw_data (float masked array) – The data to smooth.

  • window_len (float) – Length of the moving window

  • min_valid (float) – Minimum number of valid points for the smoothing to be valid

  • wind_type (str) – type of window. Can be median or mean

Returns:

data_smooth (float masked array) – smoothed data