Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IR_data_access
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Bold
IR_data_access
Commits
66369c87
Commit
66369c87
authored
7 years ago
by
Peter Drewelow
Browse files
Options
Downloads
Patches
Plain Diff
some test output added
parent
6fe713c8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+1
-1
1 addition, 1 deletion
CHANGELOG
__pycache__/downloadversionIRdata.cpython-35.pyc
+0
-0
0 additions, 0 deletions
__pycache__/downloadversionIRdata.cpython-35.pyc
plot_IR_data.py
+37
-0
37 additions, 0 deletions
plot_IR_data.py
with
38 additions
and
1 deletion
CHANGELOG
+
1
−
1
View file @
66369c87
...
@@ -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 ind
ex
es)
- fixed: stepwise download of data in blocks of 2 seconds (used the wrong ind
ic
es)
- 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
This diff is collapsed.
Click to expand it.
__pycache__/downloadversionIRdata.cpython-35.pyc
+
0
−
0
View file @
66369c87
No preview for this file type
This diff is collapsed.
Click to expand it.
plot_IR_data.py
0 → 100644
+
37
−
0
View file @
66369c87
# -*- 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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment