distance
Calculate the distance between the centers of two atom selections, with optional per-frame analysis for trajectories.
Instructions
Distance between the centers of two atom selections.
By default the distance is measured at one frame. Set all_frames=True to
return a per-frame series for a trajectory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| structure | Yes | ||
| all_frames | No | ||
| selection1 | Yes | ||
| selection2 | Yes | ||
| trajectory | No | ||
| mass_weighted | No |