run_rot.py 333 B

123456789101112
  1. #! /usr/bin/env python
  2. import subprocess, re, os, time, random
  3. rotdat = ['z_phi.dat', 'y_theta.dat']
  4. for dat in rotdat:
  5. if ('y_theta' in dat):
  6. subprocess.call("python3 harmonic_fit_rot.py " + dat, shell = True)
  7. if ('z_phi' in dat):
  8. subprocess.call("python3 harmonic_fit_rot_phi.py " + dat, shell = True)