kats.graphics.plots module¶
- kats.graphics.plots.make_fourier_plot(fft: pandas.core.frame.DataFrame, threshold: float, orig_peaks: List[float], peaks: List[float], xlabel: str = '', ylabel: str = 'PSD(dB)', title: str = 'DFT Plot') → plotly.graph_objs._figure.Figure[source]¶
Plots a scatter plot with fft highlighting the thresholds, peaks, and selected peaks
fft: fft information threshold: outlier threshold orig_peaks: all the peaks peaks: selected peaks xlabel: label for the X axis ylabel: label for the Y axis Returns ——- FFT plot
- kats.graphics.plots.plot_fitted_harmonics(times: pandas.core.series.Series, original_values: pandas.core.series.Series, fitted_values: numpy.ndarray) → plotly.graph_objs._figure.Figure[source]¶
Plots a scatter plot of the fitted harmonics :param times: :type times: date list of the time series :param original_values: :type original_values: values of the original function :param fitted_values: :type fitted_values: fitted values
- Returns
- Return type
Plot with fitted harmonics
- kats.graphics.plots.plot_scatter_with_confints(val: List[float], confint: numpy.ndarray, title) → plotly.graph_objs._figure.Figure[source]¶
Plots a scatter plot with confidence intervals used to plot ACF and PACF :param val: :type val: list containing the values :param confint: interval; confint[:, 1] is the upper :type confint: two dimensional ndarray; confint[:, 0] is the lower confidence :param title: :type title: Title of the plot
- Returns
- Return type
Plot with confidence intervals