run_harmonic_fits.py 566 B

12345678910111213141516171819
  1. #! /usr/bin/env python
  2. import subprocess, re, os, time, random
  3. from glob import *
  4. transdats = ['x_trans.dat', 'y_trans.dat', 'z_trans.dat']
  5. print ("k(Hartree/Ang^2) nu(cm-1) ZPVE(cm-1) for translations")
  6. for dat in transdats:
  7. subprocess.call("python3 harmonic_fit.py " + dat, shell = True)
  8. rotdat = ['z_phi.dat', 'y_theta.dat']
  9. for dat in rotdat:
  10. if ('y_theta' in dat):
  11. subprocess.call("python3 harmonic_fit_rot.py " + dat, shell = True)
  12. if ('z_phi' in dat):
  13. subprocess.call("python3 harmonic_fit_rot_phi.py " + dat, shell = True)