HierarchicalFootprint#
- class scarlet2.detect.HierarchicalFootprint(peak: tuple[int, int], bbox: ~scarlet2.bbox.Box, footprint: ~numpy.ndarray, scale: int, children: list[HierarchicalFootprint] = <factory>)[source]#
Bases:
objectA source detected in the starlet hierarchy.
- peak#
(y, x)peak position, refined to the finest scale reached.- Type:
tupleofint
- bbox#
Bounding box at the scale this source was first detected.
- Type:
Box
- footprint#
Binary mask for detected source in bbox.
- Type:
np.ndarray
- scale#
Largest wavelet scale at which this source was first identified.
- Type:
int
- children#
Sources whose peaks lie inside this source’s footprint and are spatially inconsistent with this source’s primary peak.
- Type:
listofHierarchicalFootprint