Skip to main content

distance()

Measure the distance between two atoms.

Usage

Source

distance(
    geo,
    keys,
)

Parameters

geo: Geometry

Geometry.

keys: Sequence[int]
Indices of the two atoms.

Returns

float
The distance, in Angstroms.