You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a labeler, I step through a run and press one key per frame to label it.
Proposed solution
diffpy-diffchooser label RUN --db labels.jsonl --user NAME [--every N]
Keys: g good, i ice (then l light / h heavy), e empty, arrow keys move, u go back to the last labeled frame to relabel it (nothing is deleted), q quit.
A frame that is not good, ice or empty is skipped with the arrow keys and stays unlabeled.
Title shows "Puck A, position 07 · frame 153 · 15.3° · label: ice (light)".
Every key press writes one record at once (no loss on crash).
On restart, opens at the first unlabeled frame.
Window logic and key handling are separate from matplotlib, so they can be tested without a display.
Done when
Tests drive the key handler with fake events and check the records
Activity