Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
67 stars 14 forks source link

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

Closed Short-bus closed 7 months ago

Short-bus commented 8 months ago

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.

Short-bus commented 8 months ago

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

Short-bus commented 8 months ago

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.

Short-bus commented 7 months ago

Done.