Skip to main content

PyPI Platform Documentation Status Build & Test codecov DOI License Code style: black

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

Source build and run issues with windows

If missing DLL errors occurs while running, or gcc is not available while building from source please install MinGW-w64:

choco install mingw

Citations and used works

Vector field building

The function dyntrack.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).

FTLE scalar field generation

Code from dyntrack.tl.FTLE have been adapted and optimized from Richard Galvez's notebook.

Principal tree fitting with SimplePPT

Code from dyntrack.tl.fit_ppt uses SimplePPT algorithm to fit principal trees on each frames. SimplePPT has been described in the following paper:

Mao et al. (2015), SimplePPT: A simple principal tree algorithm
SIAM International Conference on Data Mining.

Metadata

Release files for dyntrack 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dyntrack 1.1.4
File Size Uploaded Provenance Actions
dyntrack-1.1.4.tar.gz 2.9 MB Without provenance Details for dyntrack-1.1.4.tar.gz

Release files / dyntrack-1.1.4.tar.gz

Download URL dyntrack-1.1.4.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
cf04f12315218eeabd8612226ce88a4e966706a985414ebde6742e8b799ec9c6
BLAKE2b-256 checksum
How to use checksums
24cbc4515674a0eeb0390f8bdae0c961b9c22a6bacd93a0569987f63e18f04d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for dyntrack 1.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page