From 7e7f0e6d15af7e51a148ccc8fd5fee98bb200b28 Mon Sep 17 00:00:00 2001 From: Holger Niemann <holger.niemann@ipp.mpg.de> Date: Mon, 18 Nov 2019 10:34:27 +0100 Subject: [PATCH] update style --- plot_IR_data.py | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/plot_IR_data.py b/plot_IR_data.py index 29a58e5..1fab653 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 -- GitLab