try:import bpyexceptImportError:print('You cannot use Blender in Jupyter')print('You must select jupyter kernel as blender when you use blender')import matplotlibtry:import aseimport ase.dbexceptImportError:print('You cannot use ASE')
Code
try:import pyvibexceptImportError:print('Try execute in `src` directory or set $PYTHONPATH to pyvib')
Mass-weighted hessian is matrix \(M_{ij}=\frac{\partial^2 E}{\partial\sqrt{m_i}x_i\partial\sqrt{m_j}x_j}\) of the second derivative of energy \(E\) in terms of mass-weighted coordinates \(\sqrt{m_i}x_i\). You can also obtain mass-weighted hessian from harmonic frequency and displacement vectors.
You can use pyvib.read_fchk_g16() for Gaussian16 or pyvib.read_minfo() for SINDO
/mnt/c/Users/hinom/GitHub/PyVibLocalizer/src/local_cls.py:147: RuntimeWarning: invalid value encountered in sqrt
np.sqrt(np.diag(self.unitary.T@self.mw_hess@self.unitary).tolist()))