diff --git a/plot_IR_data.py b/plot_IR_data.py index 29a58e57133eebac5461baa33c45068c192f8f68..1fab6535eff18ca4017a05a96f906be0f897453b 100644 --- a/plot_IR_data.py +++ b/plot_IR_data.py @@ -7,22 +7,31 @@ loading IR data and printing plots @author: pdd """ -import numpy as np +#import numpy as np +import datetime import downloadversionIRdata as downIR import matplotlib.pyplot as plt -import datetime -if __name__=='__main__': - + +if __name__ == '__main__': + #%% loading data - print(datetime.datetime.now(),"start") - status,time,images,valid=downIR.get_temp_from_raw_by_program(10,"20180801.017",time_window=2.5,emi=0.8,T_version=2,version=0,threads=1,give_ERROR=False,verbose=5) + print(datetime.datetime.now(), "start") + status, time, images, valid = downIR.get_temp_from_raw_by_program(10, + "20180920.017", + time_window=[1, 1.1], + emi=0.8, + T_version=2, + version=0, + threads=1, + give_ERROR=False, + verbose=5) print('fertig') - + #%% plotting data - + plt.figure() - plt.imshow(images[220]) - plt.clim([280,630]) + plt.imshow(images[0], cmap=plt.jet()) + plt.clim([280, 630]) plt.tick_params(axis='both', # changes apply to the x-axis which='both', # both major and minor ticks are affected bottom='off', # ticks along the bottom edge are off