Skip to content
Snippets Groups Projects

CI development

Merged Aaron Viets requested to merge aaron-viets/gstlal-calibration:CI-development into main
1 unresolved thread
2 files
+ 19
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -20,7 +20,7 @@ import matplotlib.pyplot as plt
def plot_ASD(hoft_f='Approx_hoft_asd.txt', clean_f='Approx_clean_asd.txt'):
plot_filename = 'tests/tests_pytest/' + hoft_f.split('.')[0] + '_plot.png'
plot_filename = 'tests/tests_pytest/ASD_data/' + hoft_f.split('.')[0] + '_plot.png'
hoft_f = 'tests/tests_pytest/ASD_data/' + str(hoft_f)
clean_f = 'tests/tests_pytest/ASD_data/' + str(clean_f)
hoft = np.loadtxt(hoft_f)
@@ -92,7 +92,7 @@ def plot_pcal():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_approx_pcal_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/pcal_data/test_approx_pcal_plot_%s.png' % name)
plt.close()
np_lst_e = []
@@ -118,7 +118,7 @@ def plot_pcal():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_exact_pcal_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/pcal_data/test_exact_pcal_plot_%s.png' % name)
plt.close()
@@ -157,7 +157,7 @@ def plot_act():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_approx_act_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/act_data/test_approx_act_plot_%s.png' % name)
plt.close()
np_lst_e = []
@@ -184,7 +184,7 @@ def plot_act():
plt.xlabel('Time')
plt.ylabel('Phase')
plt.savefig('tests/tests_pytest/test_exact_act_plot_%s.png' % name)
plt.savefig('tests/tests_pytest/act_data/test_exact_act_plot_%s.png' % name)
plt.close()
Loading