Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
labcode
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
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
labcode
Commits
9fe82395
Commit
9fe82395
authored
Jul 25, 2024
by
Alexandros Asonitis
Browse files
Options
Downloads
Patches
Plain Diff
tight layout may be the problem
parent
af037261
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
hp4155/ADU for double gate devices/lib/help.py
+1
-1
1 addition, 1 deletion
hp4155/ADU for double gate devices/lib/help.py
hp4155/ADU for double gate devices/lib/measurements.py
+9
-9
9 additions, 9 deletions
hp4155/ADU for double gate devices/lib/measurements.py
with
10 additions
and
10 deletions
hp4155/ADU for double gate devices/lib/help.py
+
1
−
1
View file @
9fe82395
...
@@ -165,7 +165,7 @@ def calculate_line(VTG,VBG):
...
@@ -165,7 +165,7 @@ def calculate_line(VTG,VBG):
# replot results
# replot results
def
replot_results
(
replot_dict
,
df
,
points
,
title
):
def
replot_results
(
replot_dict
,
df
,
points
,
title
):
if
len
(
df
.
columns
.
tolist
())
!=
0
and
replot_dict
[
'
check
'
].
value
==
True
:
# Measurement is done
if
len
(
df
.
columns
.
tolist
())
!=
0
and
replot_dict
[
'
check
'
].
value
==
True
:
# Measurement is done
fig
,
ax
=
plt
.
subplots
()
fig
,
ax
=
plt
.
subplots
(
figsize
=
(
10
,
6
)
)
#Retrieve the columns
#Retrieve the columns
x_col
=
replot_dict
[
'
x_variable
'
].
value
x_col
=
replot_dict
[
'
x_variable
'
].
value
...
...
This diff is collapsed.
Click to expand it.
hp4155/ADU for double gate devices/lib/measurements.py
+
9
−
9
View file @
9fe82395
...
@@ -100,7 +100,7 @@ def Transfer_VTG(VTG,VDS,integration,sample,device):
...
@@ -100,7 +100,7 @@ def Transfer_VTG(VTG,VDS,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -233,7 +233,7 @@ def Transfer_VBG(VBG,VDS,integration,sample,device):
...
@@ -233,7 +233,7 @@ def Transfer_VBG(VBG,VDS,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -395,7 +395,7 @@ def Transfer_BOTH(VTG,VBG,VDS,integration,sample,device):
...
@@ -395,7 +395,7 @@ def Transfer_BOTH(VTG,VBG,VDS,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Transfer Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -539,7 +539,7 @@ def Output_VTG(VDS,VTG,integration,sample,device):
...
@@ -539,7 +539,7 @@ def Output_VTG(VDS,VTG,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -677,7 +677,7 @@ def Output_VBG(VDS,VBG,integration,sample,device):
...
@@ -677,7 +677,7 @@ def Output_VBG(VDS,VBG,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -829,8 +829,8 @@ def Output_BOTH(VDS,VTG,VBG,integration,sample,device):
...
@@ -829,8 +829,8 @@ def Output_BOTH(VDS,VTG,VBG,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Output Curve
'
,
fontweight
=
"
bold
"
)
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
))
ax1
.
legend
(
loc
=
'
upper left
'
,
borderaxespad
=
0.
,
bbox_to_anchor
=
(
1.05
,
1
)
,
ncols
=
points_VBG
)
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -952,7 +952,7 @@ def Gatediode_VTG(VTG,integration,sample,device):
...
@@ -952,7 +952,7 @@ def Gatediode_VTG(VTG,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Gatediode Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Gatediode Curve
'
,
fontweight
=
"
bold
"
)
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
@@ -1064,7 +1064,7 @@ def Gatediode_VBG(VBG,integration,sample,device):
...
@@ -1064,7 +1064,7 @@ def Gatediode_VBG(VBG,integration,sample,device):
# Adding title
# Adding title
fig
.
suptitle
(
'
Gatediode Curve
'
,
fontweight
=
"
bold
"
)
fig
.
suptitle
(
'
Gatediode Curve
'
,
fontweight
=
"
bold
"
)
fig
.
tight_layout
()
#
fig.tight_layout()
display
(
fig
)
display
(
fig
)
...
...
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