sensortoolkit.qc._interval_downsampling.plot_timedelta_quantiles
- plot_timedelta_quantiles(quant_df, interval, thres_quant=0.99)[source]
Plot timedelta vs. quantile, indicate the threshold quantile and downsampling interval by gray dashed lines.
- Parameters
quant_df (pandas DataFrame) – Dataset containing the time delta interval for measurements (for each dataset in the passed df_list) listed by quantile, ranging from 0 to 1 in 0.001 (0.1%) increments. The 0.5 quantile (50th percentile) corresponds to the median of time delta intervals for each dataset.
interval (int or float) – The downsampling interval, in seconds.
thres_quant (float, optional) – A threshold quantile (normalized between 0 and 1) for the distribution of time deltas in recorded datasets. Downsampling is applied for time delta intervals that are the first multiple of the median time delta that exceeds the time delta corresponding to the threshold quantile. Defaults to 0.99.
- Returns
None.