Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Bold
IR_data_access
Commits
7e7f0e6d
Commit
7e7f0e6d
authored
Nov 18, 2019
by
Holger Niemann
Browse files
update style
parent
8b6ada8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
plot_IR_data.py
View file @
7e7f0e6d
...
...
@@ -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
[
22
0
])
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment