spacr._lineage_trees

Lineage trees built from tracked objects.

Division events are read from explicit parent columns or inferred from nearby track starts, then drawn as tree figures, written as Newick text and summarised as per-lineage statistics, optionally calibrated to hours.

Nested helpers

_lineage_newick.node(sid)

The Newick text of sid and everything below it.

spacr/_lineage_trees.py:453

_lineage_segments.covering(track, frame)

The segment of track alive at frame, else its last one before.

spacr/_lineage_trees.py:299

_lineage_segments.root_and_depth(sid)

The root segment of sid and how many divisions separate them.

spacr/_lineage_trees.py:335

_lineage_tree_figure.place(sid)

Draw sid and its descendants; return the y it was drawn at.

spacr/_lineage_trees.py:502