Particle tracking algorithm for 2-Dimensional experiments
Project description
Particle Tracking
Package that performs tracking of colloidal particles in 2D. Based on conventional tracking methods used in this paper. This is version based on a tracking code written in R (see Repo). NOTE: other available packages, such as Trackpy, allow particle tracking in 2D & 3D.
Installation
Use
pip install particle-tracking
to simply install the code.
Using the code
the simples way to run the code is busing a jupyer notebook. See templates inside particle_tracking/example/. Start with
import particle_tracking as pt
The code has three main class objects Tracker, Linker & Filtering, which allow to detect particles, reconstruct individual trajectories (using Trackpy's linking method, and filter trajectories respectively. Simply use
pt.Tracker()
pt.Linker()
pt.Filtering
to access the main functions. NOTE: all of the class obejct above require params, a dictionary containing parameters to exceute the tracking methods. See the next section to learn how to generate params.
Interactive Menu
The code includes an interactive widget that allows to select and modify quickly the input parameters. Import the interactive menu using
from particle_tracking.src import menus
menu = menus.MainMenu()
menu.options
Once the parameters are selected use
params = menus.return_params(menu.options.children)
Characterisation
The code includes extra tools to characterise the samples onced they have been tracked. Structural order and dynamics can be anylsed by means of $\psi_{6}$ and mean-squared displacements. For example,
from particle_tracking.src.characterisation import Psi6
psi6 = Psi6()
or
from particle_tracking.src.characterisation import MSD
msd = MSD()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file particle-tracking-0.0.0.tar.gz.
File metadata
- Download URL: particle-tracking-0.0.0.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9f30c508888cc61dd373226526e7c7e886fee8a02f590b8eb3fad40d7d60680
|
|
| MD5 |
dfbd6b1254fdf17f030a3f608262aedc
|
|
| BLAKE2b-256 |
cd5a868a2124e3da47e8b156e79883e086f400836201231b9f6532916f7b7e79
|
File details
Details for the file particle_tracking-0.0.0-py3-none-any.whl.
File metadata
- Download URL: particle_tracking-0.0.0-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
494c3c068d5ca6173b6304cb8cf94e2baddd3cdb4fff90674a3bb5ef546c1488
|
|
| MD5 |
9815cd0872f7ff35859739b68e656324
|
|
| BLAKE2b-256 |
4417987fd9eae64616377ea5797aa328c9bde79c02e991186bb250173a311efd
|