Python API reference¶
Autogenerated from the docstrings on the vibe-qc Python module. Fall back to the source for anything not yet documented inline.
Molecular¶
Parse a standard XYZ file (positions in Ångström) into a Molecule. |
|
Input / output workflow¶
High-level “run a job” driver plus external-format writers.
Run a vibe-qc SCF job and write the standard output files. |
|
Write geometry, basis, and molecular orbitals to a Molden-format file. |
|
Return a multi-line string with a header, per-iteration lines and a summary. |
|
Emit the SCF trace through the |
Integrals, basis, XC¶
Periodic¶
Crystal / symmetry¶
Parse a VASP 5 POSCAR/CONTCAR file into a |
|
Write a Crystal to VASP 5 POSCAR (Direct coordinates, Å lattice). |
|
Properties¶
Mulliken atomic partial charges q_A = Z_A − Σ_{μ ∈ A} (P·S)_μμ. |
|
Löwdin (symmetric orthogonalisation) atomic partial charges: |
|
Mayer bond-order matrix, shape (n_atoms, n_atoms). |
|
Electric dipole moment of a converged SCF calculation. |
|
Dipole moment components in atomic units (e·bohr), plus Debye. |
|
Centre of mass (bohr). |
|
Memory budget¶
Peak memory estimate for a calculation. |
|
Raised by |
|
Peak memory estimate for |
|
Abort if |
|
Best-effort available-RAM probe. |
|
One-stop formatter for the run_job output block. |
Basis-set utilities¶
CRYSTAL-format basis-set parser and NWChem/.g94 emitter. |
Bands, DOS, plotting¶
A discretised k-path — sequence of k-points with cumulative arc length (for the x-axis when plotting) and labelled high-symmetry points (for the x-axis tick marks). |
|
Eigenvalues at every k along a path. |
|
Total density of states. |
|
Stitch a piecewise-linear k-path through high-symmetry points. |
|
Sample a real-space Fock matrix along a k-path. |
|
Non-interacting (Hcore) band structure: eigenvalues of T + V at every k-point. |
|
Total DOS computed by Gaussian-broadening every eigenvalue of |
|
Non-interacting DOS for a system on a Monkhorst–Pack mesh. |
|
Draw a band-structure plot. |
|
Draw a density-of-states plot. |
|
Combined band structure + DOS panel — the standard solid-state layout (bands on the left with shared y-axis to a horizontal DOS on the right). |
Volumetric output¶
Uniform axis-aligned grid in bohr. |
|
Wrap an axis-aligned box around the molecule with |
|
Write the total electron density ρ(r) = ⟨D, χ⊗χ⟩ to a Gaussian cube file. |
|
Write a single molecular orbital |
|
Write a stack of MOs in a single multi-value cube file. |
|
Write a structure-only XSF file (CRYSTAL block). |
|
Write a periodic XSF file with a single 3D scalar grid. |
|
Write a BXSF file (band XSF) for Fermi-surface visualisation in XCrySDen. |