Jupyter notebook¶
The notebook provides a local, step-by-step graphical workflow with access to the underlying Python code. Install Track Analyzer as described in Installation. Use the pipeline overview for the meaning of each analysis stage.
Start the notebook¶
The notebook is run_TA.ipynb at the root of the checkout. In the
environment where Track Analyzer and Jupyter are installed, run:
jupyter notebook
Open run_TA.ipynb in the browser. Run cells in order with Shift+Enter:
later controls depend on earlier cells. The button at the top toggles the
display of the raw code. If a widget or variable is missing, check that the
preceding cells were run; restart the kernel and run the cells in order if
necessary. Stop the notebook server with Ctrl+C in the terminal.
Prepare data and select subsets¶
Use the preparation cells to load a table, identify its columns, enter metadata, and configure plots. The notebook can also map custom variables. An optional napari viewer supports visual selection and preview.
Notebook data-loading controls.¶
Notebook metadata controls.¶
Run the filtering cells to configure subsets and optionally select individual trajectories. Numeric ranges are available without drawing an ROI.
Notebook subset filtering controls.¶
Run analyses¶
Execute the trajectory and map cells after preparation and filtering; choose the plots and parameters in their respective widgets. The comparator cells can load and compare previously saved trajectory analyses. Outputs are saved in the dataset directory as described in Outputs and saved data.
Notebook trajectory analysis controls.¶
Notebook map analysis controls.¶
If a cell does not run with the keyboard shortcut, try the notebook’s Run button. napari-dependent previews and drawing tools require a working local napari/Qt installation.