Status: To Do
Fix Version/s: None
It would be useful to have a pair of flags that describe the "blendedness" of each source. As described in this community post, a post-deblender possibility would be:
- blended: deblend_nChild > 0
- isolated: parent == 0 and not blended
while in context where we don't run the deblender, we could instead set:
- blended: len(footprint.getPeaks()) > 1
It's not clear whether we need to check the number of peaks post-deblender, but this should be investigated.
As recently discussed on Slack, there should be no reason to look at the peaks as long as the deblender has been run. I'm sorry if I left some confusion about this earlier; I think we must have just miscommunicated.
As a side note, "blendedness" is also the name of a specific algorithm we run during measurement to test how blended a deblend child was. A cut on that may be what you want in some contexts, and it'd be good not to name anything else the same thing.