Skip to main content

TrackPal: Tracking Python AnaLyzer

Project description

TrackPal: Tracking Python AnaLyzer

A modular library for the analysis of object trackings in Python with pandas.

Overview

Main features

  • Read Imaris / TrackMate files
  • Simulate tracks with different motion types
  • Compute track feature descriptors (~50 available features)
  • Mean squared displacement curves for single tracks and ensembles
  • Velocity autocorrelation curves for single tracks and ensembles
  • Visualization utilities

For most computations trackpal relies on pandas groupby and apply mechanism.

TrackPal does not track or link objects. It analyzes already tracked objects. For obtaining object trackings from images or detections see for instance the excellent projects TrackMate, trackpy or ilastik

Examples

import trackpal as tp

trj = tp.simulate.brownian_linear(n_tracks=10)

trj.groupby(trj.trackid).apply(
    tp.visu.plot_trj, coords=trj.xy, line_fmt=".-",
)

Output:

Track features

  • Simulate different motion types and compute track feautres

Installation

  1. Install Anaconda Python (>=3.6) and create new environment

From PyPi:

  1. pip install trackpal

For development

  1. git clone this repostiory
  2. cd trackpal
  3. pip install -e .

Documentation

Find API documentation on github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TrackPal-1.0.0.tar.gz (15.2 kB view hashes)

Uploaded Source

Built Distribution

TrackPal-1.0.0-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page