Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Normal modes

From a notebook cell

import veloxchem as vlx

molecule = vlx.Molecule.read_smiles('CCO')
basis = vlx.MolecularBasis.read(molecule, 'def2-svp')

scf_drv = vlx.ScfRestrictedDriver()
scf_drv.xcfun = 'b3lyp'
scf_results = scf_drv.compute(molecule, basis)

vib_drv = vlx.VibrationalAnalysis(scf_drv)
vib_results = vib_drv.compute(molecule, basis)
vib_drv.animate(vib_results, mode=14)
Loading...

From an h5 file

vib_results = vlx.read_results("../output_files/acro-raman.h5", label="vib")

vib_drv.animate(vib_results, mode=14)
Loading...