Skip to content

Focus: add raw multi-star views and diagnostics#531

Merged
brickbots merged 17 commits into
brickbots:mainfrom
mrosseel:better-focus
Jul 18, 2026
Merged

Focus: add raw multi-star views and diagnostics#531
brickbots merged 17 commits into
brickbots:mainfrom
mrosseel:better-focus

Conversation

@mrosseel

@mrosseel mrosseel commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • measure HFD from a self-contained raw-frame star detector and arrange the four brightest stars into screen quadrants
  • add Raw, Stats, and Single display modes; Single fills the screen with the brightest raw star and uses a translucent lower-third HFD/history overlay
  • preserve raw luminance with crop + nearest-neighbour scaling only, retain adaptive zoom, and keep edge-star crops inside the sensor frame
  • keep all stats content below the standard title bar and document the controls and focus workflow

Validation

  • nix develop path:/home/mike/dev/amateur_astro/jjMyPiFinder.ws/nixos -c pytest -m unit tests/test_focus.py tests/test_focus_preview.py -q (28 passed)
  • changed-file Ruff check and format check
  • sphinx-build -nW -b html (clean)
  • broader unit suite: 806 passed; 5 unrelated comet tests fail locally in Skyfield propagation under the newer local NumPy/Skyfield environment

mrosseel and others added 17 commits July 14, 2026 22:11
Tighten the quick-start focus walkthrough into the manual's voice and add
screenshots of the new Stars, Single, and Stats views captured from the
running app. Update the menu-map Focus entry for the four-view screen and
fix the blank-camera troubleshooting advice, which relied on the old
full-frame preview: the star tiles are black whenever no stars are
detected, so the reader is now pointed at the Image view before judging
the camera dead. Refresh the user-guide Quick Menu screenshot (taken over
the old Focus screen) and drop the three images the redesign orphaned.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…lision

Both branches independently added the same raw tetra3 output field to
SuccessfulSolve/PointingEstimate: main's SQM redesign (brickbots#532) as
matched_catID, this branch as matched_catalog_ids. Resolved to main's
matched_catID — it mirrors the raw tetra3 solution key, consistent with
the sibling fields matched_centroids/matched_stars, and is already
consumed by the SQM calibration UI on main. The focus-side consumers
(ui/preview.py, focus tests) now read matched_catID; focus.py's internal
parameter names are unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@brickbots
brickbots merged commit 70e243b into brickbots:main Jul 18, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants