In this article
The Atoms distance methods document mic=False by default and mic=True for the Minimum Image Convention. Cell and periodic-boundary information remain inputs to that chosen operation; they are not a replacement for selecting it. A distance vector also has direction semantics distinct from its norm. Wrapping stored positions into a cell is another transformation and does not mean every later direct displacement equals the intended minimum-image vector. The selected geometry contract must there.
An ASE Atoms object can carry a periodic cell while a distance request still uses the direct displacement between stored positions. The get_distance interface makes minimum-image handling an explicit option. A scientific AI neighbor or pair-label generator must choose the intended geometry instead of assuming that periodic metadata automatically changes every distance calculation.
The scientific interface
The Atoms distance methods document mic=False by default and mic=True for the Minimum Image Convention. Cell and periodic-boundary information remain inputs to that chosen operation; they are not a replacement for selecting it. A distance vector also has direction semantics distinct from its norm. Wrapping stored positions into a cell is another transformation and does not mean every later direct displacement equals the intended minimum-image vector. The selected geometry contract must therefore remain explicit through feature generation.
Implementation details
Record cell, periodic flags and distance policy with neighbor or pairwise targets. Use a supported geometry path for the intended cell rather than a convenient coordinate subtraction that ignores boundaries. Preserve whether a feature contains a vector or scalar norm and its atom-order direction. Validate geometry after cell or position transformations, including nonperiodic axes where applicable. Do not infer the neighbor population solely from a cutoff without first establishing which distance that cutoff applies to. A graph with valid tensor dimensions can still contain the wrong physical connections.
A constructed validation case
Construct atoms close across a periodic boundary and compare direct and declared minimum-image distances. Include an interior control, a nonperiodic direction and a supported skew-cell fixture with independently reviewed expectations. Check scalar distance and vector direction separately. Acceptance requires the intended geometry and neighbor membership, not universal equality between wrapped-coordinate subtraction and minimum-image calculations. Preserve cell and periodic flags with the fixture so a later loader cannot reproduce the positions while silently losing the boundary conditions that define the scientific problem.
Numerical and data limits
Correct periodic geometry does not establish a valid interaction potential or sufficient neighbor cutoff. Those need separate scientific evidence. It establishes which distances and vectors the AI pipeline actually used, preventing a boundary convention from becoming a hidden change in the model’s physical input.
Primary references
ASE Atoms numerical and structural properties; ASE geometry and minimum-image calculations.
This is a proposed scientific-interface validation, not an executed Retrivium benchmark. Preserve the implementation version and unresolved outcomes; interface documentation does not establish the accuracy or performance of a scientific model.
Related reading
SPICE: atomic numbers alone do not identify a charged molecular state; Tensor axes in a language model: batch, sequence and hidden width.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.