dyntrack.tl.fit_ppt
- dyntrack.tl.fit_ppt(DT, times=None, lam=10, sigma=10, copy=False, **kwargs)
Compute a principal tree from partical position at each frame.
- Parameters
DT (
DynTrack
) – Adyntrack.DynTrack
object.times (
Optional
[Sequence
]) – set of timepoints/frames to use for the fitting, by default uses all.lam (
float
) – Lambda parameter from SimplePPT algorithm.sigma (
float
) – Sigma parameter from SimplePPT algorithm.copy (
bool
) – Return a copy instead of writing to DT.**kwargs – Additional parameters to be passed to
simpleppt.ppt()
- Returns
DT – if copy=True it returns or else add fields to DT:
- .ppts
List of principal trees calculated per frame.
- Return type