Describe the bug
source extractor does not handle image edges will. catastrophic failure for VFID5855-NGC5348-INT-20190206-p120, where the edge from the weird orientation of chip 4. The blank area comes in as zeros, and so the noise estimate is really low. Then SE detects every noise spike in the regular part of the image.
Photutils can create an object mask without running into this issue. Somehow it must ignore the zeros, whereas SE does not.
To Reproduce
/home/rfinn/research/Virgo-dev/cont-sub-gr/VFID5855-NGC5348-INT-20190206-p120
Describe the bug source extractor does not handle image edges will. catastrophic failure for VFID5855-NGC5348-INT-20190206-p120, where the edge from the weird orientation of chip 4. The blank area comes in as zeros, and so the noise estimate is really low. Then SE detects every noise spike in the regular part of the image.
Photutils can create an object mask without running into this issue. Somehow it must ignore the zeros, whereas SE does not.
To Reproduce /home/rfinn/research/Virgo-dev/cont-sub-gr/VFID5855-NGC5348-INT-20190206-p120
run maskwrapper on this image
Expected behavior Should get the object mask that photutils creates.
Screenshots photutils result![image](https://github.com/rfinn/halphagui/assets/4580853/9490f7a5-73fa-47be-aa2f-6477b5a204ae)
vs SE result![image](https://github.com/rfinn/halphagui/assets/4580853/4058667c-2003-449b-b646-e6b78e87bb0d)