Skip to content

Coords

SelectByDistance(from_atoms, dist)

Bases: SelectionExpression

Selects atoms within a certain distance from a reference selection. Selections include the reference atoms.

PARAMETER DESCRIPTION

atoms

Reference atoms to compute distances from. This can be a SliceSpec or another SelectionExpression, in which case the distance will be computed from the atoms selected by that expression.

dist

Selection distance

TYPE: float

dist = dist

from_atoms = from_atoms

evaluate(ensemble, run_id=None, micro_id=None)