From 223c9c779fa572c74877310f8fc515e3e7e8f10c Mon Sep 17 00:00:00 2001
From: Holger Niemann <holger.niemann@ipp.mpg.de>
Date: Thu, 4 Oct 2018 10:37:58 +0200
Subject: [PATCH] change to working example

---
 downloadversionIRdata.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/downloadversionIRdata.py b/downloadversionIRdata.py
index 8647ea8..ce85d3d 100644
--- a/downloadversionIRdata.py
+++ b/downloadversionIRdata.py
@@ -2407,16 +2407,16 @@ if __name__=='__main__':
     print("local function calling")                    
     port="AEF51"
     prog="20180925.065"
-#    status,time,images,valid=get_temp_from_raw_by_program(port,prog,time_s=[0,4],emi=0.82,T_version=2,version=0,threads=4,give_ERROR=False,use_firstframe_as_background=False,verbose=5)
-#    if status:
-#        plt.figure()
-#        plt.imshow(images[-1],vmin=330,vmax=1000,cmap=exJet)
-#        cb=plt.colorbar()
-#        cb.set_label("temperature in K",rotation=270,labelpad=20,fontsize=20)
-#        cb.ax.tick_params(labelsize=20)
+    status,time,images,valid=get_temp_from_raw_by_program(port,prog,time_s=[0,4],emi=0.82,T_version=2,version=0,threads=4,give_ERROR=False,use_firstframe_as_background=False,verbose=5)
+    if status:
+        plt.figure()
+        plt.imshow(images[-1],vmin=330,vmax=1000,cmap=exJet)
+        cb=plt.colorbar()
+        cb.set_label("temperature in K",rotation=270,labelpad=20,fontsize=20)
+        cb.ax.tick_params(labelsize=20)
         
 #    bla=get_temp_from_raw_by_program_fullthreads(51,prog,time_s=[0,4],threads=4)
-    bla2=get_nuced_raw_by_program_fullthreads(51,prog,time_s=[0,4],threads=4)
+#    bla2=get_nuced_raw_by_program_fullthreads(51,prog,time_s=[0,4],threads=4)
 #    port=41
 #    program="20180925.013"
 #    prog=get_program_from_PID(program)
-- 
GitLab