diff --git a/downloadversionIRdata.py b/downloadversionIRdata.py index 5068da53d6333af58f966d460b38de2f0284cdce..caf3503970aa4977127e6df2a0b4b6cc0b9df32c 100644 --- a/downloadversionIRdata.py +++ b/downloadversionIRdata.py @@ -453,7 +453,7 @@ def download_raw_images_by_times(port,starttime,stoptime,version=1,intervalSize= else: allimages=allimages+images#np.append(ressignal,signal,axis=0) time=np.append(time,t) - del signal,t + del images,t except urllib.error.URLError as e: print(e) return True,time,allimages @@ -1389,7 +1389,9 @@ if __name__=='__main__': plt.plot(time,max1,label="max V1") plt.plot(time,max2,label="max V2") plt.plot(time,ave1,label="average V1") - plt.plot(time,ave2,label="average V2") + plt.plot(time,ave2,label="average V2") + plt.legend() + plt.savefig('20171129.036 - T calibration comparison.png', dpi=300, bbox_inches='tight') # background1,LUT1,refT1,gain1,offset1,badpixels1,t_exp1,cfilter1=get_calib_data(41,"20171024.016",0.8,1,version=1) ## background2,LUT2,refT2,gain2,offset2,badpixels2,t_exp2,cfilter2=get_calib_data(51,"20171024.016",0.8,2,version=1) # prog=AKF_1.get_program_from_PID("20171024.015")