Note
Go to the end to download the full example code.
Autocorrelation plotting with traja
Plot autocorrelation of a trajectory with traja.plotting.plot_autocorrelation()
Wrapper for pandas pandas.plotting.autocorrelation_plot().

<Figure size 640x480 with 1 Axes>
import traja
trj = traja.generate(seed=0)
trj.traja.plot_autocorrelation('x')
Total running time of the script: (0 minutes 0.073 seconds)