.. _book_fig_chapter10_fig_autocorrelation: Autocorrelation Function ------------------------ Figure 10.30 Example of the autocorrelation function for a stochastic process. The top panel shows a simulated light curve generated using a damped random walk model (Section 10.5.4). The bottom panel shows the corresponding autocorrelation function computed using Edelson and Krolik's DCF method and the Scargle method. The solid line shows the input autocorrelation function used to generate the light curve. .. image:: ../images/chapter10/fig_autocorrelation_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_autocorrelation.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_autocorrelation.py :lines: 13- .. raw:: html
:download:`[download source: fig_autocorrelation.py] ` .. raw:: html