Commit 223c9c77 authored by Holger Niemann's avatar Holger Niemann
Browse files

change to working example

parent 555d3ed1
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment