Skip to content
Snippets Groups Projects
Commit 5e4a6e7d authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

problems appear in the measurements

parent 38722e98
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "5fd2c732c6734a769d733ab2c8cf1c78",
"model_id": "3e57406ff2434f57bdb8232cb57b3f07",
"version_major": 2,
"version_minor": 0
},
......@@ -23,7 +23,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "094c272a777d488ebfc4d67bd2af0ef8",
"model_id": "7a48c60f713b473098ea7b486770fa59",
"version_major": 2,
"version_minor": 0
},
......@@ -44,7 +44,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "baab40bc68f14b6b874f1e29e462b991",
"model_id": "82cdc3414e8d4f4c890f11148e248aa3",
"version_major": 2,
"version_minor": 0
},
......@@ -65,7 +65,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "d79d03a1b64649c38042d7909fd8a993",
"model_id": "d0711dcb84ae494e9df7ec65c819cbc0",
"version_major": 2,
"version_minor": 0
},
......@@ -86,7 +86,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "32f8a7ee251f4b3ea24fd1666f3d5e99",
"model_id": "6ebdfd735aa24ceaaa04921a7266e0d1",
"version_major": 2,
"version_minor": 0
},
......@@ -107,7 +107,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f894e3057a604602984555a9fdd809ff",
"model_id": "722be2a7b3f34ecb9eaf856fd3fca70e",
"version_major": 2,
"version_minor": 0
},
......@@ -130,7 +130,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "d40ac20bdc1244d993c9429b1c6ab9cc",
"model_id": "d9607b3de8734d478c33111c02fd9e1e",
"version_major": 2,
"version_minor": 0
},
......@@ -151,7 +151,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "57feb2df5fb74bdfaee465001d8428b1",
"model_id": "2724d26b5b584fa7823e4d9fce542c5c",
"version_major": 2,
"version_minor": 0
},
......@@ -172,7 +172,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "bf65c5beeccd4e30b4c07533b6005ae4",
"model_id": "b76c1254920d439c8749b363d7a1acce",
"version_major": 2,
"version_minor": 0
},
......@@ -195,7 +195,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3b4ca0d640c44113baa6fd3980ed0e68",
"model_id": "d693162ec5b34883825c9b7e2c2844e9",
"version_major": 2,
"version_minor": 0
},
......@@ -216,7 +216,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "24aa2fa1732343caac6a409aa5cf988f",
"model_id": "44f6fd5b3f25417b9f16a7ab93198096",
"version_major": 2,
"version_minor": 0
},
......@@ -239,7 +239,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "af741e77a2c34f6da8f80176c1d7b521",
"model_id": "2fe283fe33144be1983538309275b461",
"version_major": 2,
"version_minor": 0
},
......@@ -253,7 +253,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "30d646b9df1a4c7ab01a6ee6d0c0b3e5",
"model_id": "ace23ce305b7449c80f9c67b7bd5fec6",
"version_major": 2,
"version_minor": 0
},
......@@ -294,7 +294,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.0"
"version": "3.11.4"
}
},
"nbformat": 4,
......
from interface import *
from help import *
from measurements import *
# Create the grids
......@@ -12,13 +14,13 @@ information_grid=GridspecLayout(2,4)
#first column
information_grid[0,0]=widgets.Label("Processing-Nr.",layout=Layout(height='auto', width='auto'))
information_grid[1,0]=widgets.Label("Sample-Nr.",layout=Layout(height='auto', width='auto'))
information_grid[1,0]=widgets.Label("Sample",layout=Layout(height='auto', width='auto'))
#information_grid[2,0]=widgets.Label("Piece",layout=Layout(height='auto', width='auto'))
#last column
information_grid[0,3]=widgets.Label("Field(XYY)",layout=Layout(height='auto', width='auto'))
information_grid[1,3]=widgets.Label("Transistor",layout=Layout(height='auto', width='auto'))
information_grid[1,3]=widgets.Label("Device",layout=Layout(height='auto', width='auto'))
#information_grid[2,3]=widgets.Label("Testlevel",layout=Layout(height='auto', width='auto'))
#columns 2 and 3
......@@ -37,7 +39,7 @@ print()
#transfer
transfer_check,integration_transfer = header('Transfer Curve')
Vds_transfer = secondary('Vds',1,1,5,0.1)
Vds_transfer = secondary('Vds',0.1,0.45,1,0.1)
Vgs_transfer = primary('Vgs',2,-0.05,-8,0.01)
print()
print()
......@@ -62,4 +64,30 @@ output = widgets.Output()
display(button,output)
def on_start_clicked(b):
with output:
#disable all widgets
#connect to the device
device = module.HP4155a('GPIB0::17::INSTR')
Setup(device)
Vds_transfer_points = number_of_points(Vds_transfer['start'].value,Vds_transfer['step'].value,Vds_transfer['stop'].value)
Vgs,Vds,Idmm,gm=Transfer((Vgs_transfer['start'].value),(Vgs_transfer['step'].value),(Vgs_transfer['stop'].value),(Vgs_transfer['comp'].value),(Vds_transfer['start'].value),(Vds_transfer['step'].value),Vds_transfer_points,(Vds_transfer['comp'].value),(integration_transfer.value),(Vgs_transfer['hyst'].value),device)
plot_transfer(Vgs,Idmm,gm,Vds_transfer_points)
print(Vgs)
print(Vds)
button.on_click(on_start_clicked)
......@@ -76,5 +76,9 @@ def plot_gatediode(x,y):
display(fig)
def number_of_points(start,step,stop):
diff = stop - start
ratio = diff/step
points = int(ratio+1)
return points
\ No newline at end of file
......@@ -35,10 +35,12 @@ def primary(name,start,step,stop,comp):
#third line
primary_grid[2,0]=widgets.Label("Compliance(A)",layout=Layout(height='auto', width='auto'))
#primary_grid[2,1] =widgets.Label("Power Compliance(W) (0=OFF)",layout=Layout(height='auto', width='auto'))#mind the gap
primary_grid[2,2] =widgets.Label("Hysterisis",layout=Layout(height='auto', width='auto'))#mind the gap
#fourth line
primary_grid[3,0]=widgets.BoundedFloatText(value=comp,min=-0.1,max=0.1,step=0.01,layout=Layout(height='auto', width='auto'))
#primary_grid[3,1]=widgets.BoundedFloatText(value=0,min=0,max=2,step=0.1,layout=Layout(height='auto', width='auto'))#mind the gap
primary_grid[3,2]=widgets.Dropdown(options=['SINGle','DOUBle'],value='SINGle',layout=Layout(height='auto', width='auto'))#mind the gap
parameters = {
......@@ -46,7 +48,8 @@ def primary(name,start,step,stop,comp):
'step': primary_grid[1,1],
'stop': primary_grid[1,2],
'comp': primary_grid[3,0],
'hysterisis':primary_grid[3,2]
'hyst':primary_grid[3,2],
#'pcomp':primary_grid[3,1]
}
display(primary_grid)
......@@ -74,7 +77,7 @@ def secondary(name,start,step,stop,comp):
#fourth line
secondary_grid[3,0]=widgets.BoundedFloatText(value=comp,min=-0.1,max=0.1,step=0.01,layout=Layout(height='auto', width='auto'))
secondary_grid[3,2]=widgets.BoundedFloatText(value=0,min=0,max=100,step=0.1,layout=Layout(height='auto', width='auto'))#mind the gap
secondary_grid[3,2]=widgets.BoundedFloatText(value=0,min=0,max=2,step=0.1,layout=Layout(height='auto', width='auto'))#mind the gap
parameters = {
'start': secondary_grid[1,0],
......@@ -88,4 +91,3 @@ def secondary(name,start,step,stop,comp):
print()
return parameters
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment