rdtools.analysis_chains.TrendAnalysis.plot_degradation_timeseries
- TrendAnalysis.plot_degradation_timeseries(case, rolling_days=365, center=None, **kwargs)
Plot resampled time series of degradation trend with time
- Parameters:
case (str) -- The workflow result to plot, allowed values are 'sensor' and 'clearsky'
rolling_days (int, default 365) -- Number of days for rolling window. The window must contain at least
rolling_days // min_periods_divisordatapoints to be included in the rolling plot; seerdtools.plotting.degradation_timeseries_plot()for details onmin_periods_divisorand its pending default change.center (bool, default False) -- If
True, the rolling window is centered and results are reindexed using center timestamps before any calculations are performed. The recommended value isTrue; the default ofFalseis retained only for backward compatibility. A warning is raised when this argument is not explicitly supplied.kwargs -- Extra parameters passed to
rdtools.plotting.degradation_timeseries_plot()
- Return type: