Focus corpus helpers¶
Focus-corpus helpers for Atom-HiFi runner orchestration.
- atom_hifi.corpus.filter_atoms(atoms, desc, elements)[source]¶
Return (idx, desc_focused, atoms_focused) for the focus atoms.
The
is_focusper-atom array (extxyz column, int 0/1) and theelements(focus_elements) list are combined with AND: an atom is a focus atom iff its element is requested and its is_focus flag is 1. With focus_elements=null the element mask is all-True, so is_focus alone selects focus atoms.