feat: implement cluster averaging pipeline, UI controls

This commit is contained in:
jack
2026-06-15 15:02:55 -07:00
parent 7d32fb4b65
commit e545c245d7
6 changed files with 158 additions and 9 deletions
@@ -475,11 +475,11 @@ class WaferMapItem(QQuickPaintedItem):
# Calculate box top-left (lx, ly) relative to dot center (px, py)
gap = 3
if side == "left":
lx = px - r - gap - text_w + ox
lx = px - r - gap - text_w - ox
ly = py - text_h // 2 + oy
elif side == "top":
lx = px - text_w // 2 + ox
ly = py - r - gap - text_h + oy
ly = py - r - gap - text_h - oy
elif side == "bottom":
lx = px - text_w // 2 + ox
ly = py + r + gap + oy