Short-bus / pilomar

RaspberryPi based miniature observatory

Home Page:https://shortbus.blog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

src/pilomarimage.py CalculateStarSpread() fails for bright skies

Short-bus opened this issue · comments

CalculateStarSpread() is measuring the performance and quality of the tracking images to help with tracking tuning.
If the sky is too bright there are no stars, but the image is still successfully captured.
CalculateStarSpread() then fails to calculate the spread of stars.
It should protect itself against an image with no identified stars.

Fixed in 2024-01-issues branch. Waiting for confirmation that correction has worked before merging back into main branch.

Similar issue was found in a copy of the method in src/pilomar.py
Code adjusted so that only the corrected version of CalculateStarSpread() from pilomarimage is used globally.

Done.