Loading scripts/plot_transmission.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ def run(filenames, args, spectrum_only=False): plt.subplot(2,1,2) _,(w0,c0) = tcounts.popitem(last=False) for s,(w,c) in list(tcounts.items()): tfac = c0/c tfac = c/c0 tavg = np.average(tfac) print("%s: %g" % (s, np.average(tfac))) plt.step(w, tfac, where='mid', label = "%s T=%.3f" % (s,tavg)) Loading Loading
scripts/plot_transmission.py +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ def run(filenames, args, spectrum_only=False): plt.subplot(2,1,2) _,(w0,c0) = tcounts.popitem(last=False) for s,(w,c) in list(tcounts.items()): tfac = c0/c tfac = c/c0 tavg = np.average(tfac) print("%s: %g" % (s, np.average(tfac))) plt.step(w, tfac, where='mid', label = "%s T=%.3f" % (s,tavg)) Loading