vibeqc.ScanResult¶
- class vibeqc.ScanResult(values, energies, geometries, converged_flags, coordinate, output_path=None, extra=<factory>)[source]¶
Bases:
objectContainer for the output of
relaxed_scan().- Parameters:
- __init__(values, energies, geometries, converged_flags, coordinate, output_path=None, extra=<factory>)¶
Methods
__init__(values, energies, geometries, ...)write_qvf(path)Emit a vibe-view
reaction.pathQVF for animation.Attributes
Path stem the scan wrote, or
Noneif no output was requested.Target coordinate values, shape (n_points,) — bohr or radians.
Relaxed energies (Ha), shape (n_points,).
Relaxed geometries — one
MoleculeorPeriodicSystemper scan point.Whether the relaxation at each point converged.
The constraint definition used.
- geometries: list[Any]¶
Relaxed geometries — one
MoleculeorPeriodicSystemper scan point.
- coordinate: Tuple[str, int, int] | Tuple[str, int, int, int] | Tuple[str, int, int, int, int]¶
The constraint definition used.
- write_qvf(path)[source]¶
Emit a vibe-view
reaction.pathQVF for animation.Each scan point becomes one frame; the reaction coordinate carries the constraint values; the energy curve becomes the per-frame
energiesarray. Endpoints are tagged asreactant/product; the highest-energy intermediate point is tagged as apointwaypoint (we don’t claim it’s a TS — that requires a Hessian check).Periodic scans (with
PeriodicSystemgeometries) ship as QVF v2 archives with the per-frame lattice + dim on thereaction.pathsection. The writer detects periodic frames automatically; vibe-view’s renderer draws the cell and wraps atoms across in-plane periodic boundaries.