The goal of the algorithm is to find contiguous structures of pixels in an image given that:
- each pixel is brighther than a given threshold and
- the contiguous structure is more extended than a given area.
This algorithm can be used to detect substructures in residual images as follows
from finder import ClumpFinder
cf = ClumpFinder(
image, mask, mask_bg, mask_bulge
)
cf.detect(model, flux_threshold, surface_threshold)For more details, please refer to the documentation and check the examples directory. Examples are provided as marimo notebooksbut can also be run as python scripts.