Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IVL-Messplatz
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CST
IVL-Messplatz
Commits
4f3f6925
Commit
4f3f6925
authored
3 weeks ago
by
Jona Riedel
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some minor bugs
parent
8eae11eb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
interfaces/photodiode_ivl.py
+12
-11
12 additions, 11 deletions
interfaces/photodiode_ivl.py
ivl/measurements.py
+2
-2
2 additions, 2 deletions
ivl/measurements.py
with
14 additions
and
13 deletions
interfaces/photodiode_ivl.py
+
12
−
11
View file @
4f3f6925
...
@@ -186,7 +186,7 @@ class MainWindow(QMainWindow):
...
@@ -186,7 +186,7 @@ class MainWindow(QMainWindow):
self
.
offset
.
setValue
(
7.5e-3
)
self
.
offset
.
setValue
(
7.5e-3
)
self
.
measure_offset
=
QCheckBox
(
"
Measure offset voltage instead of using the above value
"
)
self
.
measure_offset
=
QCheckBox
(
"
Measure offset voltage instead of using the above value
"
)
self
.
measure_offset
.
setChecked
(
True
)
self
.
delay
=
QDoubleSpinBox
()
#only softwrare delay leave it like this
self
.
delay
=
QDoubleSpinBox
()
#only softwrare delay leave it like this
# Minimum 0 Maximum 99.99 and 2 decimals places
# Minimum 0 Maximum 99.99 and 2 decimals places
...
@@ -199,6 +199,7 @@ class MainWindow(QMainWindow):
...
@@ -199,6 +199,7 @@ class MainWindow(QMainWindow):
self
.
address_gpib
.
setValue
(
1
)
self
.
address_gpib
.
setValue
(
1
)
self
.
verbose
=
QCheckBox
(
"
Verbose
"
)
self
.
verbose
=
QCheckBox
(
"
Verbose
"
)
self
.
verbose
.
setChecked
(
True
)
self
.
rfa
=
QDoubleSpinBox
()
# here also set the default value
self
.
rfa
=
QDoubleSpinBox
()
# here also set the default value
self
.
rfa
.
setDecimals
(
6
)
self
.
rfa
.
setDecimals
(
6
)
...
@@ -369,8 +370,8 @@ class Worker(QRunnable):
...
@@ -369,8 +370,8 @@ class Worker(QRunnable):
self
.
window
.
sc
.
axes
[
2
].
scatter
(
np
.
absolute
(
current_dens
),
np
.
absolute
(
radiance
),
label
=
f
"
Measurement
{
self
.
window
.
counter
}
"
)
self
.
window
.
sc
.
axes
[
2
].
scatter
(
np
.
absolute
(
current_dens
),
np
.
absolute
(
radiance
),
label
=
f
"
Measurement
{
self
.
window
.
counter
}
"
)
self
.
window
.
sc
.
axes
[
3
].
scatter
(
np
.
absolute
(
radiance
),
eqe
,
label
=
f
"
Measurement
{
self
.
window
.
counter
}
"
)
self
.
window
.
sc
.
axes
[
3
].
scatter
(
np
.
absolute
(
radiance
),
eqe
,
label
=
f
"
Measurement
{
self
.
window
.
counter
}
"
)
for
i
in
range
(
4
):
#
for i in range(4):
self
.
window
.
sc
.
axes
[
i
].
legend
()
#
self.window.sc.axes[i].legend()
self
.
window
.
sc
.
draw_idle
()
self
.
window
.
sc
.
draw_idle
()
...
...
This diff is collapsed.
Click to expand it.
ivl/measurements.py
+
2
−
2
View file @
4f3f6925
...
@@ -112,8 +112,8 @@ def ivv_scan(
...
@@ -112,8 +112,8 @@ def ivv_scan(
print
(
f
"
Measured
{
currents
[
-
1
]
*
1e3
:
.
3
f
}
mA and
"
print
(
f
"
Measured
{
currents
[
-
1
]
*
1e3
:
.
3
f
}
mA and
"
+
f
"
{
photo_voltage
[
-
1
]
*
1e3
:
.
3
f
}
mV at
{
v
:
.
2
f
}
V
"
+
f
"
{
photo_voltage
[
-
1
]
*
1e3
:
.
3
f
}
mV at
{
v
:
.
2
f
}
V
"
)
)
source
.
display
(
f
"
{
v
:
.
2
f
}
{
currents
[
-
1
]
*
1e
-
3
:
.
2
f
mA
"
)
source
.
display
(
f
"
{
v
:
.
2
f
}
V,
{
currents
[
-
1
]
*
1e3
:
.
3
f
}
mA
"
)
photo.display(f
"
{
photo_voltage
[
-
1
]
:
.
2
f
V
"
)
photo
.
display
(
f
"
{
photo_voltage
[
-
1
]
:
.
2
f
}
V
"
)
source
.
set_voltage
(
0
)
source
.
set_voltage
(
0
)
source
.
display_off
()
source
.
display_off
()
...
...
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