Fix mesh_box extending beyond the border of the frame; Re-enable AAVSO comparison stars to Y in Colab #1351
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fix #1336 by constraining the mesh_box within the borders of the image.
In particular this was affecting some datasets where AAVSO comparison stars were relatively near the border, causing the process to be slow and errors like the following:
Sky background error for Comparison star #4 for file C:\Users\ivenz\Downloads\exotic_sample_data_error_2024-10-21\2024-10-21\LIGHT\HD 209458_2062.FIT - are you sure there is a star at [915.6, 582.0]?
Very important, this PR also re-enable AAVSO comparison stars by default in Colab. It was disabled a month ago mainly because of issue #1336
@tamimfatahi @rzellem