Skip to content
Snippets Groups Projects
Commit 66369c87 authored by Peter Drewelow's avatar Peter Drewelow
Browse files

some test output added

parent 6fe713c8
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,6 @@ changes in downloadversionIRdata: ...@@ -5,6 +5,6 @@ changes in downloadversionIRdata:
01.11.2017: 01.11.2017:
bugfixes in downloadversionIRdata: bugfixes in downloadversionIRdata:
- fixed: stepwise download of data in blocks of 2 seconds (used the wrong indexes) - fixed: stepwise download of data in blocks of 2 seconds (used the wrong indices)
- fixed: not find the infratecfilter - fixed: not find the infratecfilter
- fixed: wrong time intervall for TC divertor data - fixed: wrong time intervall for TC divertor data
\ No newline at end of file
No preview for this file type
# -*- coding: utf-8 -*-
"""
Created on Tue Dec 19 15:02:53 2017
loading IR data and printing plots
@author: pdd
"""
import numpy as np
import downloadversionIRdata as downIR
import matplotlib.pyplot as plt
if __name__=='__main__':
#%% loading data
status,time,images,valid=downIR.get_temp_from_raw_by_program(20,"20171207.006",time_s=3.5,emi=0.8,T_version=2,version=1,threads=8,give_ERROR=False)
print('fertig')
#%% plotting data
plt.figure()
plt.imshow(images[220])
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
top='off', # ticks along the top edge are off
left='off',
right='off',
labelleft='off',
labelbottom='off') # labels along the bottom edge are off
c_ax = plt.colorbar()
c_ax.set_label('T [K]')
plt.savefig('20171207.006 - 2.2s - AEF20IR - in K.png', dpi=300, bbox_inches='tight')
plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment