rdtools.filtering.quantile_clip_filter

rdtools.filtering.quantile_clip_filter(power_ac, quantile=0.98)

Filter data points likely to be affected by clipping with power or energy greater than or equal to 99% of the quant quantile.

Parameters:
  • power_ac (pandas.Series) -- AC power or AC energy time series

  • quantile (float, default 0.98) -- Value for upper threshold quantile

Returns:

Boolean Series of whether the given measurement is below 99% of the quantile filter.

Return type:

pandas.Series