pyrosetta_help.per_atom package
Module contents
- class pyrosetta_help.per_atom.AtomicInteractions(pose: Pose, target_idx: int, threshold: int = 3, scorefxn: ScoreFunction | None = None, weighted: bool = True, halved: bool = False)[source]
Bases:
object
Gets the per atom energies for the per_atom.
>>> ai = AtomicInteractions(pose, 1) # noqa - pose residue index 1 >>> print(ai.describe_best()) >>> ai.per_atom[(' N ', 2, ' N ')]
Unfortunately, bonding is not taken into account therefore the total is more favourable as these are ignored.
>>> ai.total, ai.expected_total
- __init__(pose: Pose, target_idx: int, threshold: int = 3, scorefxn: ScoreFunction | None = None, weighted: bool = True, halved: bool = False)[source]
- property best_interactions
- property expected_total
- score_types = ['fa_atr', 'fa_rep', 'fa_sol', 'fa_elec']
- term_relevance_cutoff = 0.5
- property total
- class pyrosetta_help.per_atom.NeighbourInteractions(*args, **kwargs)[source]
Bases:
AtomicInteractions