Eggeling-Lab-Microscope-Software / TRAIT2D

TRAIT2D is a cross-platform Python software package with compilable graphical user interfaces (GUIs) to support Single Particle Tracking experiments.
GNU General Public License v3.0
10 stars 10 forks source link

TRAIT2D

PyPI PyPI - Wheel PyPI - Python Version PyPI - License DOI

Tests

TRAIT2D (available as trait2d) is a cross-platform Python software package with compilable graphical user interfaces (GUIs) to support Single Particle Tracking experiments. The software can be divided, in three main sections: the tracker, the simulator and the data analyzer.

The documentation is available at GitHub Pages.

Further information on the tool, together with more extensive theoretical foundations, is available on the related F1000Research Article.

Citing Information

Reina F, Wigg JMA, Dmitrieva M et al. TRAIT2D: a Software for Quantitative Analysis of Single Particle Diffusion Data [version 1; peer review: 1 approved, 1 approved with reservations]. F1000Research 2021, 10:838 (https://doi.org/10.12688/f1000research.54788.1)

Features

Contributing

Guidelines for contributing to the project can be found here.

Installation

Installation methods have been tested on Linux and Windows.

Install from PyPI (Recommended)

Prerequisites:

Installation:

Install from Source (Not Recommended)

Prerequisites:

Installation:

Quickstart

GUIs

There are GUIs available for simple simulation, tracking and analysis tasks.

To start using them follow these steps:

Library Modules

To use the trait2d modules, you can import them in your Python scripts or notebooks.

The simulator module is available as trait2d.simulators and the analysis module as trait2d.analysis.

For more information, check the documentation on the simulation and analysis libraries.

Examples are available in the gallery.

Further GUI Usage

You can find more information and GUI descriptions in the documentation on the analysis, simulator, and tracker GUIs.

Detection and Tracking

Setting parameters:

Use “Preview” button to evaluate performance of the detector. It shows detections for the current frame.

Parameters:

Proposed workflow:

1) choose timelapse tiff sequence and run pre-processing step if necessary 2) choose between dark or light spots 3) tune detection parameters to detect all the particles. It is recommended to test the results for a few different frames using "Preview" button 4) set resolution and frame rate (optional) 5) set linking parameters 6) run linking by pressing "Run tracking" button. It will run linking algorithm and offer to save tiff file with plotted trajectories. Check the trajectories and change the linking parameters if needed. Use minimum track length parameter to eliminate short tracks 7) when the tracks provided by the tracker is good enough - save csv file with the particle trajectories (button “Save data”)

Advice:

Movie simulation: command line

Movie Simulation: GUI