Vibrational analysis
Vibrations uses an analytical Cartesian Hessian. Unsupported configurations
raise; there is no finite-difference fallback. Frequencies use cm⁻¹, mode
energies use eV, and Hessians use eV/Ų.
Fixed-substrate adsorbate modes
Section titled “Fixed-substrate adsorbate modes”The example is H₂O coordinated to an exposed Li site of a frozen (LiF)₂ cluster.
The adsorption workflow
relaxes all nine water coordinates with PBE/def2-SVP to fmax=0.003 eV/Å.
from atomli.vibrations import Vibrations
# atoms is the converged seven-atom complex; host indices 0–3 are fixed.vib = Vibrations(atoms, indices=[4, 5, 6], method="analytical").run()hessian = vib.get_hessian_2d() # (9, 9), eV/Ųfrequencies = vib.get_frequencies() # complex cm^-1modes = vib.get_modes() # (9, 7, 3); host displacements are zero| Mode | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| Frequency (cm⁻¹) | 33.8 | 129.9 | 262.5 | 356.5 | 459.9 | 896.4 | 1596.5 | 3245.1 | 3763.1 |
The nine coordinates include frustrated adsorbate translations and rotations. They remain physical modes in the fixed-host model and are not removed as six isolated-molecule rigid-body modes. IR intensities are not calculated.
Partial Hessian, eigenvectors, frequencies, and force residual
Low-frequency adsorbate motion
Section titled “Low-frequency adsorbate motion”Lowest analytical adsorbate mode with the LiF host fixed
The frozen host defines the reference frame. The lowest mode is dominated by collective adsorbate motion. Host response and host–adsorbate vibrational coupling are excluded. Low frequencies require particular attention to force residuals, electronic convergence, basis size, and the finite-host approximation.
Internal adsorbate modes
Section titled “Internal adsorbate modes”Water adsorbate bending dominated analytical mode
Water adsorbate O H stretching dominated analytical mode
Assignments should follow the eigenvectors and internal-coordinate changes, including O–H stretches and the H–O–H angle. A frequency index alone is not a transferable assignment across geometries or methods. Display amplitudes are scaled to a maximum atom displacement of 0.15 Å.
Complete molecular Hessians
Section titled “Complete molecular Hessians”Omit indices for a molecular Cartesian Hessian:
from atomli.build import moleculefrom atomli.calculators import QCfrom atomli.optimize import BFGS
water = molecule("H2O")water.calc = QC(xc="PBE", basis="def2-svp", device="cpu", scf={"energy_tolerance": 1e-8})if not BFGS(water).run(fmax=1e-4, steps=60): raise RuntimeError("Geometry did not converge")free = Vibrations(water, method="analytical").run()free.summary()An isolated nonlinear molecule has six rigid-body directions. Residual forces and numerical integration can contaminate their frequencies. Check stationarity before interpreting low modes or identifying a saddle point. A first-order saddle requires one significant imaginary internal mode and the intended connection between minima.
Constraint subspaces
Section titled “Constraint subspaces”An explicit atom subset selects rows and columns of the full analytical Hessian. This is appropriate for adsorbate coordinates with the remaining atoms fixed. It does not construct the independent coordinate subspace of bond, line, or plane constraints. Such models need the corresponding projected Hessian and constraint curvature treatment before assigning physical frequencies.
Method support and export
Section titled “Method support and export”capabilities = atoms.calc.get_capabilities(atoms)assert capabilities["derivatives"]["hessian"] == "analytical"
from atomli.visualize import plotfigure = plot.vibration(vib)figure.write_html("adsorbate-modes.html")vib.write_mode(n=-1)Hessian support depends on method, basis, boundary conditions, and device.
Check get_capabilities(atoms) before launching a vibration calculation.
Harmonic frequencies exclude anharmonicity and finite-temperature sampling.