Select atoms and measure geometry
Select a fragment for styling or editing, or select atoms in order to measure distance, angle and torsion. Selection works in View and Edit.
Read lattice parameters
Open Analyze → Measure or click the ruler. The top of the panel shows the
current physical cell even with no atoms selected. Find it from Find tools
by searching for lattice parameters or cell lengths.
Read a, b, and c in the source length units shown above the grid. The angles are in degrees, with α between b and c, β between c and a, and γ between a and b. A zero vector has length zero. A dash marks an undefined measurement, such as α or β for a slab whose c vector is zero. Changing frames or editing the cell updates the values. Visual replication does not change the physical cell being measured.
Select atoms deliberately
The retained selection controls transforms, measurements, constraint edits, appearance overrides, and several analysis tools.
Input |
Selection behavior |
|---|---|
Left-click |
Replace the selection with one atom |
Shift + left-click |
Add or remove the clicked atom |
Left-drag |
Replace the selection with atoms inside the box |
Shift + left-drag |
Invert membership for atoms inside the box |
|
Select all visible atoms |
|
Invert all visible atoms; clear when all were selected |
Selection order still determines the active transform pivot. Automatic geometry
needs deliberate individual clicks: two give a distance, three the angle
a1-a2-a3, and four the signed torsion a1-a2-a3-a4. A box, label selection,
Select all, inversion or paste is bulk intent even when it contains 2–4 atoms;
the inspector and overlay show a count, not an incidental measurement. A single
atom retains its identity and stored-property inspection regardless of how it
was selected. Do not sort an intentional measurement sequence or pivot workflow.
Measure a path
Choose Measure in the viewport toolbar. The ruler cursor marks the active mode. Click each point of the path in order. Clicking an earlier atom again adds another visit. For example, H–C–C–H can start and end at the same atom.
The viewport shows a distance for each segment, an angle at every interior point, and a signed torsion for exactly four points. Larger paths retain all distances and interior angles. Click empty space to start over. Switch to Select atoms to drag, or press Escape to return to Select. The rendered image or video includes the visible measurement.
Base atoms and periodic replicas
In View, a displayed supercell replica is a distinct visual reference. Its
identity contains both the base index and a cell offset such as 12@[1,0,0],
so direct measurements use the position actually displayed. Hiding that
reference in View does not delete an ASE atom.
In Edit, a clicked replica resolves to its unique base atom. All displayed equivalents receive a small selection ring, while the editable primary atom keeps the full halo. This prevents a display-only periodic image from becoming an accidental duplicate topology edit.
Warning
Delete Selected has mode-dependent meaning. In View it hides the exact selected visual references and their bonds. In Edit it physically deletes the deduplicated base atoms and remaps supported constraints.
For a multi-frame source trajectory in Edit, choose Current frame only or All frames · same indices in the deletion dialog. All frames removes those zero-based indices regardless of element names; shorter frames skip indices they do not contain. Remaining arrays, labels and supported constraints are remapped per frame. Playback pauses before the choice. Cancel or Escape leaves every frame unchanged; Undo restores the full operation, not just the displayed frame. View-mode hiding remains a visual action.
Example: measure ethane
Download ethane_measurement.cif. Open it with File > Open, or run this in the folder containing the download:
v_ase gui ethane_measurement.cif
Choose Measure, then click H #3 and C #0 to see the distance.
Click C #1 to add a second distance and the H–C–C angle.
Click H #6 to add the last distance, the second angle, and the signed torsion.
Switch to Select and Shift-click two atoms to compare direct and MIC distances.
Ethane: the selection grows from distance to angle to torsion.
Ordered geometry through a trajectory
In Select atoms, direct clicks and Shift-clicks retain the selection order:
one atom leads with its chemical element and user label, then shows displayed Cartesian/fractional position and lazy per-atom properties (not a property count);
two show the direct distance and a periodic distance labelled MIC;
three show the direct
a1-a2-a3angle ata2;four show the signed torsion of the four displayed positions; and
bulk selections and selections larger than four show total and per-label counts. Use Measure to see the full path for five or more points.
The MIC readout searches for the nearest image in the periodic lattice, including skew cells and valid partial-PBC lattices. When you explicitly select a replica, the measurement uses the displayed image you selected.
The retained Measure overlay follows the selected source or optimizer frame
and committed G/R/S edits without relying on hover state.
