Add star candidate and PSF-fit visualization - #976
Conversation
|
Just a heads up that this PR collides with the yet-to-be-merged #918 (candidate subsampling), and depending on the motivation behind it, might loose some of its utility once/if #918 is merged. The conflictI test-merged this into Two of the five new tests assert the removed behavior and will fail: In #918
|
|
Thanks for the detailed heads-up and for catching the float32 inference issue. I fixed that in 3a72121: integer images now infer their width with np.iinfo, while floating-point images default to the historical 8-bit display scale unless the caller supplies the source bit depth. I also added a float32 regression test. For the possible future integration with #918, I suggest keeping the candidate overlay before subsampling so it continues to show the complete raw local-maximum set. We could then optionally distinguish the spatially retained sample with a second colour and show raw/selected counts in the title. The over-limit tests would become sampling-budget tests: the plot should receive all raw candidates, while PSF fitting should receive at most max_star_candidates. The ExtractStars tests can also be consolidated into one canonically named file when that branch is rebased. For this PR I am leaving the current prerelease overflow semantics intact, since #918 is not merged. |
Summary
Tests