TheMagicBean
New Coder

Hello I've included my code above, what I'm trying to do is detect objects within a fits file however I want to only look for peaks(bright objects) with pixel connectivity so that the object detection is much accurate however I'm not to familiar with this sort of stuff and in particular haven't found any way to use find_peaks and a pixel connectivity variable. Any help on this would be much appreciated. I can also provide more information if needed
Also sorry if this is the wrong place to post this :/