graphicle.select.leaf_masks(mask_tree: MaskGroup) MaskGroup[MaskArray][source]

Find the leaves of the hard process, when organised into a hierarchical tree from hierarchy().

New in version 0.1.11.

Parameters:
mask_tree : MaskGroup

Nested masks representing the descedants from partons in the hard process.

Returns:

Flat MaskGroup of only the leaves of mask_tree.

Return type:

MaskGroup


Last update: Jun 27, 2025