Definition
The Local Interaction Score (LIS) counts the fraction of inter-group residue pairs with PAE below a cutoff threshold, measuring how confidently the model predicts the spatial relationship between residue groups. For each qualifying pair, the contribution is(cutoff - PAE) / cutoff, producing a score between 0 and 1. The result is negated so that lower energy corresponds to stronger predicted interactions. When intensive=True, the score is averaged over qualifying pairs; when intensive=False, it is summed (extensive mode).
Parameters
The oracle to use for the energy term.
Which residues to include in the first and second group.
The cutoff value for the PAE, in Angstroms, below which the interaction is considered “local”.
If True, the LIS is averaged over the number of residue pairs, otherwise it’s an extensive sum.
If a new residue is added next to a residue included in this energy term, this dictates whether that new residue could then be added to this energy term.
The weight of the energy term.
Optional name to append to the energy term name.
