4. IR and Raman spectra¶
Infrared¶
IR intensities (km/mol) are printed with every frequency calculation: the dipole derivatives are
obtained together with the Hessian, analytically wherever the analytic Hessian is available
(see 3. Vibrational frequencies). To get a spectrum, broaden the stick spectrum with Lorentzians;
Tutorial 3 does this with the plotting tool shipped in
tutorials/tools/.
Raman¶
job: task: raman (or opt_raman) runs the frequency analysis and then computes Raman activities
in the double-harmonic, non-resonant approximation (Porezag and Pederson 1996;
theory in Long): the static polarizability \(\alpha_{ij}=\partial\mu_i/\partial F_j\) is
evaluated at geometries displaced by \(\pm\)mode_step along each normal mode, and its derivative
gives the activity \(S_k=45\bar a'^2+7\gamma'^2\) (Å⁴/amu), the depolarization ratio and a relative
intensity at laser_nm.
# Tutorial 19: Raman spectrum of methane (a spherical top), PBE/aug-pc-1.
# OMP_NUM_THREADS=16 ./run_dft tutorials/19_raman/files/ch4.yaml > ch4.out
system:
charge: 0
unpaired_electrons: 0
units: angstrom
functional:
exchange: pbe
correlation: pbe
basis:
name: aug-pc-1
file: basis/aug-pc-1.nw
scf:
conv_tol: 1.0e-10
job:
task: opt_raman
optimization:
max_force: 1.0e-5
raman:
file: ch4_raman.dat
atoms:
- element: C
position: [0.000000, 0.000000, 0.000000]
- element: H
position: [0.629000, 0.629000, 0.629000]
- element: H
position: [-0.629000, -0.629000, 0.629000]
- element: H
position: [-0.629000, 0.629000, -0.629000]
- element: H
position: [0.629000, -0.629000, -0.629000]
Key ( |
Default |
Meaning |
|---|---|---|
|
|
|
|
0.002 |
field step (a.u.) for finite fields |
|
0.01 |
displacement (bohr) along each unit-norm mode |
|
532 |
excitation wavelength for relative intensities |
|
50 |
modes below this (cm⁻¹) are skipped |
|
none |
table: mode, frequency, activity, depolarization ratio, relative intensity |
Water, HF/aug-pc-1: activities 0.6120, 84.889 and 24.218 Å⁴/amu with the analytic polarizability, against 0.6116, 84.888 and 24.216 from a finite-field PySCF calculation, in 3.7 s instead of about 6 s. The analytic route is the default wherever the analytic Hessian exists; otherwise the finite-field route is used automatically.
A uniform static field is available for any energy run as scf: efield: fx fy fz.
Related tutorials: Raman spectra (water, CO₂, methane, selection rules), Static polarizability, Polarizabilities and hyperpolarizabilities, with SIC.