dyntrack.DynTrack
- class dyntrack.DynTrack(track_data, img=None, X=None, Y=None, u=None, v=None, ftle=None, ppts=None)
A python object containing the data used for dynamical tracks analysis.
- Parameters
track_data (
DataFrame
) – DataFrame containing x and z coordinates, the track ID and the frame/time.img (
Optional
[ndarray
]) – The background image from the field where particle were tracked can be included.X (
Optional
[ndarray
]) – x coordinates of the grid vector field.Y (
Optional
[ndarray
]) – y coordinates of the grid vector field.u (
Optional
[ndarray
]) – x component of the vectors.v (
Optional
[ndarray
]) – y component of the vectors.ftle (
Optional
[ndarray
]) – scalar FTLE values calculated from vector field.ppts (
Optional
[Mapping
[str
,Any
]]) – list of principal trees fitted for each frame of the tracking.
- __init__(track_data, img=None, X=None, Y=None, u=None, v=None, ftle=None, ppts=None)
Methods
__init__
(track_data[, img, X, Y, u, v, ...])