Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion One-Electron-Property/IR-Intensities/intensities.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
# (thanks to Zack Glick!)
#
psi_na = psi4.constants.na # Avogdro's number
psi_alpha = qcel.constants.get("fine-structure constant") # finite-structure constant
psi_alpha = psi4.constants.get("fine-structure constant") # finite-structure constant
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

#
# Conversion factor for taking IR intensities from ((D/A)^2 / amu) to a.u. ((e a0 / a0)^2 / me):
conv_kmmol = psi4.constants.conversion_factor("debye^2 / (angstrom^2 * amu)", "(e^2 * bohr^2)/(bohr^2 * atomic_unit_of_mass)")
Expand Down
2 changes: 1 addition & 1 deletion Response-Theory/Self-Consistent-Field/vcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# Useful Constants
psi_c = psi4.constants.get("Natural unit of velocity") * 100 # speed of light in cm/s
psi_na = psi4.constants.na # Avogdro's number
psi_alpha = qcel.constants.get("fine-structure constant") # finite-structure constant
psi_alpha = psi4.constants.get("fine-structure constant") # finite-structure constant
psi_h = psi4.constants.h # Planck's constant in J s
psi_hbar = psi_h / (2 * np.pi) # hbar in J s

Expand Down
4 changes: 3 additions & 1 deletion Tutorials/04_Density_Functional_Theory/ks_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
import psi4

from pkg_resources import parse_version
if parse_version(psi4.__version__) >= parse_version('1.3a1'):
if parse_version(psi4.__version__) >= parse_version('1.4rc1'):
build_superfunctional = psi4.driver.procrouting.dft.build_superfunctional
elif parse_version(psi4.__version__) >= parse_version('1.3a1'):
build_superfunctional = psi4.driver.dft.build_superfunctional
else:
build_superfunctional = psi4.driver.dft_funcs.build_superfunctional
Expand Down