The returned Background structure (containing sky background values like the brightness and number of stars detected) had a bug in its values, due to the partitioned computation. This is fixed here.
Also, removed the margin (partitions were separated by 15 pixels in an attempt to avoid duplicate star detections).
Instead I used the SEP flag SEP_OBJ_TRUNC which detects when a star overlaps the edge, and those detections are not used.
This reduces the number of stars not detected without causing duplicates.
The returned Background structure (containing sky background values like the brightness and number of stars detected) had a bug in its values, due to the partitioned computation. This is fixed here.
Also, removed the margin (partitions were separated by 15 pixels in an attempt to avoid duplicate star detections). Instead I used the SEP flag SEP_OBJ_TRUNC which detects when a star overlaps the edge, and those detections are not used. This reduces the number of stars not detected without causing duplicates.