Example datasets
================

Real tracking data
------------------

Try a C. elegans embryo dataset from the
`Cell Tracking Challenge <http://celltrackingchallenge.net/3d-datasets/>`_:
:download:`download the tracks and metadata <../_static/example/Fluo-N3DH-CE.tar.gz>`.
For the original time-lapse image, download the
`source dataset <http://data.celltrackingchallenge.net/training-datasets/Fluo-N3DH-CE.zip>`_
and use :download:`load_tracking.py <../_static/example/load_tracking.py>` to
extract a TIFF stack:

.. code-block:: sh

   python -m pip install imagecodecs
   python load_tracking.py /path/to/dataset

The script's ``-p`` option also generates the positions table. In Fiji, a
generated 4D TIFF may need **Stack to Hyperstack** with Z=35 and T=195;
this conversion is not required for Track Analyzer.

Synthetic tracking data
-----------------------

Download :download:`example synthetic datasets <../_static/example/synthetic_data.tar.gz>`
or generate your own. The separate :ref:`napari synthetic dataset generator
<synthetic-datasets>` offers graphical controls. For command-line generation,
see :doc:`command_line`. Synthetic datasets include positions, metadata,
theoretical velocity and diffusion field tables, and an optional TIFF.
