:orphan:
============================
Examples of using tidynamics
============================
The examples below show how one can use tidynamics to compute correlations and
mean-squared displacements (MSD).
The example "Command-line interface to tidynamics" runs in the command-line. It performs the
two basic operations of tidynamics (autocorrelation function and MSD) using files as input
data. The file ``random_steps_sample_0.txt.gz`` contains example data for computing the
autocorrelation function and the file ``random_walk_sample_0.txt.gz`` contains example data
for computing the MSD.
The following commands run the command-line tool::
python tidynamics_tool.py msd random_walk_sample_0.txt.gz random_walk_msd_0.txt
python tidynamics_tool.py acf random_steps_sample_0.txt.gz random_steps_acf_0.txt
The output is stored in the files ``random_walk_msd_0.txt`` and ``random_steps_acf_0.txt``.
The other examples require `matplotlib `_.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_tidynamics_tool_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_tidynamics_tool.py`
.. raw:: html
Command-line interface to tidynamics
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_nlogn_scaling_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_plot_nlogn_scaling.py`
.. raw:: html
Scaling behaviour
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_acf_1_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_plot_acf_1.py`
.. raw:: html
Correlation functions
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_plot_msd_1_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_plot_msd_1.py`
.. raw:: html
Mean-square displacements (MSD)
.. raw:: html
.. toctree::
:hidden:
/auto_examples/tidynamics_tool
/auto_examples/plot_nlogn_scaling
/auto_examples/plot_acf_1
/auto_examples/plot_msd_1
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: auto_examples_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery