Python package for the study of particle dynamics from 2D tracks
Project description
DynTrack
Python package for the study of particle dynamics from 2D tracks
Installation
pip install -U dyntrack
Usage
import dyntrack as dt
DT = dt.ut.load_data("tracks.csv","Position X","Position Y","Parent","Time","background.tiff")
dt.tl.vector_field(DT)
dt.pl.vector_field(DT)
dt.tl.FTLE(DT, 20000,5)
dt.pl.FTLE(DT)
dt.tl.fit_ppt(DT,seed=1)
dt.pl.fit_ppt(DT)
Workflow
Citations and used works
The function tl.vector_field
uses vfkm to generate vector fields (see license), please cite the related study if you use it:
Ferreira, N., Klosowski, J. T., Scheidegger, C. & Silva, C. Vector Field k-Means: Clustering Trajectories by Fitting Multiple Vector Fields. Comput. Graph. Forum 32, 201–210 (2012).
Code from tl.FTLE
have been adapted and optimized from Richard Galvez's notebook
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
dyntrack-1.0.0.tar.gz
(2.9 MB
view hashes)