Closed taldcroft closed 3 years ago
I've completely forgotten why we use 4 as the pad for bad pixels and then there's another 1 in here
https://github.com/sot/proseco/blob/bff1f932f21e6cd0e6053a8d4fdd857528cdf364/proseco/guide.py#L1035
Probably just decided to keep tossing compromises at the problem...
I was thinking that + 1
was about the width of the pixel itself. Assuming cand['row']
is in 'edge' coordinates, then you need to add 1 to start counting 4 pixels from the top of the pixel.
Description
This started off as adding one pixel of margin to match starcheck and then adding a test, but when I did the testing it seems like there is already a bonus pixel in there somewhere. So this just adds testing.
Testing