Skip to content

Complete single particle tracking analysis workflow.

License

Notifications You must be signed in to change notification settings

schwille-paint/SPT

Repository files navigation

SPT: Single particle tracking analysis

This package provides a complete single particle tracking analysis workflow based on picasso_addon, picasso and trackpy python packages including:

  • Localization of raw movies based on picasso_addon (auto net-gradient) and picasso.localize
  • Autopicking of localization clusters (picasso_addon) and analysis of immobilized particles
  • Linking of localizations into trajectories using trackpy
  • Individual mean-square-displacement computation and linear iterative fitting
  • Subtrajectory analysis for estimation of underlying diffusion behavior
  • Easy to use script batch processing
SPT requires the following packages:
  • picasso : Localization and rendering of super-reolution images
  • picasso_addon : Further functionalities for picasso (auto net-gradient, autopick)

Please refer to the readthedocs for further information.

Workflow

SPT was used for data analysis in:

Installation

Create conda environment

Since the SPT package is based on the picasso_addon package, please follow the instructions how to set up a conda environment for picasso_addon. The thus created environment (picasso_addon) provides all necessary dependencies for SPT.

Download and use SPT

To use the SPT package please clone the SPT GitHub repository. You can add the package to your environment (e.g. picasso_addon) by switching to the downloaded folder (SPT) and typing

(picasso_addon) python setup.py install
If you don't want to install the SPT package into your environment but want to be able to permanently import SPT functions in any IPython (Spyder, Jupyter) session do the following:
  1. Navigate to ~/.ipython/profile_default
  2. Create a folder called startup if it’s not already there
  3. Add a new Python file called start.py or modify it and add
import sys
sys.path.append('C:/yourpath/SPT')