PyDiscretizedVesselTree
- class multimodars.PyDiscretizedVesselTree
Bases:
objectFully discretized coronary vessel tree (aorta + RCA + LCA + side branches).
- rca_branches
Per-side-branch contour lists for the RCA.
rca_branches[i]corresponds to RCA branch_idi + 1.- Type:
list of list of PyContour
- rca_references
Orientation triplets
(main_ref, clock_ref, counter_clock_ref)along the RCA, sorted proximal → distal. Each element is a 3-tuple of(x, y, z)coordinate tuples.- Type:
list of tuple
- lca_references
Same structure for the LCA.
- Type:
list of tuple
- ao_rca
Centroid
(x, y, z)of the aorta slice closest to the RCA ostium.- Type:
tuple of float
- ao_lca
Centroid
(x, y, z)of the aorta slice closest to the LCA ostium.- Type:
tuple of float
- calculate_ref_pts()
Recompute orientation reference triplets and aortic ostium centroids from the current contour data.
Call this after replacing contours (e.g. with B-spline fits) so that
rca_references,lca_references,ao_rca, andao_lcareflect the updated geometry.