plot_acf#
- elk.plot.plot_acf(time, acf, acf_percentiles=None, title=None, fig=None, ax=None, show=True, save_path=None)[source]#
Plot an autocorrelation function
- Parameters:
- time
ndarray Times at which autocorrelation function is evaluated
- acf
ndarray, optional The autocorrelation function, by default None
- acf_percentiles
ndarray, optional 1-sigma confidence interval on the autocorrelation function, by default None
- titlestr, optional
A title for the plot, by default None
- fig
Figure, optional Figure on which to plot, if either fig or ax is None then new ones are created, by default None
- ax
AxesSubplot, optional Axis on which to plot, if either fig or ax is None then new ones are created, by default None
- showbool, optional
Whether to show the plot, by default True
- save_pathstr, optional
Where to save the plot, if None then plot is not saved, by default None
- time
- Returns:
- fig, ax
Figure,AxesSubplot Figure and axis on which the periodogram has been plotted
- fig, ax