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

fixed utf-8 encoding

parent a13cc70f
No related branches found
No related tags found
No related merge requests found
......@@ -9,12 +9,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "f597618a50df4c55967dccd649f98424",
"model_id": "91b007d1c3f34b39b4bc4d4fc430fcbf",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Label(value='Sample Information', layout=Layout(height='auto', width='50%'), style=LabelStyle(font_weight='bol…"
"HBox(children=(Label(value='Sample Information', layout=Layout(height='auto', width='50%'), style=LabelStyle(f…"
]
},
"metadata": {},
......@@ -23,12 +23,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "728edd06d6f941ae901fd271dbfc7f96",
"model_id": "a989b58d9fa44eb0827c087afd0c5efe",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"GridspecLayout(children=(Text(value='', description='Processing-Nr:', layout=Layout(grid_area='widget001', hei…"
"HBox(children=(GridspecLayout(children=(Text(value='', description='Processing-Nr:', layout=Layout(grid_area='…"
]
},
"metadata": {},
......@@ -44,12 +44,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "05df8ca073054244996dfecffa1acb47",
"model_id": "5fb4ecee398f4c0ebff2e7b679b525fe",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Checkbox(value=True, description='Test of the Contacts', indent=False)"
"HBox(children=(Checkbox(value=True, description='Test of the Contacts', indent=False), Checkbox(value=True, de…"
]
},
"metadata": {},
......@@ -65,12 +65,12 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "42cbdb10095d4733a0ee79ca9706a82c",
"model_id": "6a08c9595e524587a810c29bb75c713e",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Tab(children=(VBox(children=(HBox(children=(Checkbox(value=True, description='Transfer Curve', indent=False, l…"
"Tab(children=(VBox(children=(Dropdown(description='Integration Time', index=1, layout=Layout(height='auto', wi…"
]
},
"metadata": {},
......@@ -86,7 +86,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "fb9a4d4c8ab645dd85ca6ebb63b091c0",
"model_id": "fde2af87a1934f37b1ec1d7bf43a2dff",
"version_major": 2,
"version_minor": 0
},
......@@ -100,7 +100,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9fdbe95e64cc4e1ca518e81ddbe067d9",
"model_id": "1f8f0870133d44468fd31fa1ab9434cf",
"version_major": 2,
"version_minor": 0
},
......
......@@ -145,7 +145,7 @@ def on_start_clicked(b):
if norm_unit =='mA/mm':
header=['VGS(V)','VDS(V)','IDmm(mA/mm)',"IGmm(mA/mm)",'gm(mS/mm)',"ABS(IDmm)(mA/mm)","ABS(IGmm)(mA/mm)","ID(A)","IG(A)","gm(S)"]
else:
header=['VGS(V)','VDS(V)','IDmm(µA/µm)',"IGmm(µA/µm)",'gm(µS/µm)',"ABS(IDmm)(µA/µm)","ABS(IGmm)(µA/µm)","ID(A)","IG(A)","gm(S)"]
header=['VGS(V)','VDS(V)','IDmm(uA/um)',"IGmm(uA/um)",'gm(uS/um)',"ABS(IDmm)(uA/um)","ABS(IGmm)(uA/um)","ID(A)","IG(A)","gm(S)"]
data = {header[0]:Vgs,header[1]:Vds,header[2]:Idmm,header[3]:Igmm,header[4]:gm,header[5]:np.abs(Idmm),header[6]:np.abs(Igmm),header[7]:Id,header[8]:Ig,header[9]:gm_S}
df = pd.DataFrame(data)
......@@ -210,7 +210,7 @@ def on_start_clicked(b):
if norm_unit == 'mA/mm':
header=['VGS(V)','VDS(V)','IDmm(mA/mm)',"IGmm(mA/mm)","ABS(IDmm)(mA/mm)","ABS(IGmm)(mA/mm)","ID(A)","IG(A)"]
else:
header=['VGS(V)','VDS(V)','IDmm(µA/µm)',"IGmm(µA/µm)","ABS(IDmm)(µA/µm)","ABS(IGmm)(µA/µm)","ID(A)","IG(A)"]
header=['VGS(V)','VDS(V)','IDmm(uA/um)',"IGmm(uA/um)","ABS(IDmm)(uA/um)","ABS(IGmm)(uA/um)","ID(A)","IG(A)"]
data = {header[0]:Vgs,header[1]:Vds,header[2]:Idmm,header[3]:Igmm,header[4]:np.abs(Idmm),header[5]:np.abs(Igmm),header[6]:Id,header[7]:Ig}
df = pd.DataFrame(data)
......@@ -255,7 +255,7 @@ def on_start_clicked(b):
if norm_unit == 'mA/mm':
header=['VGS(V)','IGmm(mA/mm)',"ABS(IGmm)(mA/mm)",'IG(A)']
else:
header=['VGS(V)','IGmm(µA/µm)',"ABS(IGmm)(µA/µm)",'IG(A)']
header=['VGS(V)','IGmm(uA/um)',"ABS(IGmm)(uA/um)",'IG(A)']
data = {header[0]:Vgs,header[1]:Igmm,header[2]:ABSIgmm,header[3]:Ig}
df = pd.DataFrame(data)
......
......@@ -20,7 +20,7 @@ def plot_transfer(x,y1,y2,curves,norm_unit='mA/mm'):
if norm_unit == 'mA/mm':
ax1.set_ylabel('$I_{D} (mA/mm)$', color = color)
else:
ax1.set_ylabel('$I_{D} (µA/µm)$', color = color)
ax1.set_ylabel('$I_{D} (uA/um)$', color = color)
for i in range(curves):
ax1.plot(x[i], y1[i], color = color)
......@@ -34,7 +34,7 @@ def plot_transfer(x,y1,y2,curves,norm_unit='mA/mm'):
if norm_unit == "mA/mm":
ax2.set_ylabel('$g_{m} (mS/mm)$', color = color)
else:
ax2.set_ylabel('$g_{m} (µS/µm)$', color = color)
ax2.set_ylabel('$g_{m} (uS/um)$', color = color)
for i in range(curves):
ax1.plot(x[i], y2[i], color = color)
#ax2.plot(Vgs, gm, color = color)
......@@ -59,7 +59,7 @@ def plot_output(x,y1,y2,curves,norm_unit = "mA/mm"):
if norm_unit == 'mA/mm':
ax1.set_ylabel('$I_{D} (mA/mm)$', color = color)
else:
ax1.set_ylabel('$I_{D} (µA/µm)$', color = color)
ax1.set_ylabel('$I_{D} (uA/um)$', color = color)
for i in range(curves):
ax1.plot(x[i],y1[i],color=color)
ax1.tick_params(axis ='y', labelcolor = color,which = 'both')
......@@ -69,7 +69,7 @@ def plot_output(x,y1,y2,curves,norm_unit = "mA/mm"):
if norm_unit == 'mA/mm':
ax2.set_ylabel('$I_{G} (mA/mm)$', color = color)
else:
ax2.set_ylabel('$I_{G} (µA/µm)$', color = color)
ax2.set_ylabel('$I_{G} (uA/um)$', color = color)
for i in range(curves):
ax2.plot(x[i], y2[i], color = color)
ax2.tick_params(axis ='y', labelcolor = color,which = 'both')
......@@ -85,7 +85,7 @@ def plot_gatediode(x,y,norm_unit = "mA/mm"):
if norm_unit == "mA/mm":
ax1.set_ylabel('$I_{G} (mA/mm)$', color = color)
else:
ax1.set_ylabel('$I_{G} (µA/µm)$', color = color)
ax1.set_ylabel('$I_{G} (uA/um)$', color = color)
ax1.set_yscale('log')
y = np.absolute(y)
......@@ -215,7 +215,7 @@ def save_to_file(measurement,file,df,sample,integration,Vgs,Vds=None):
f.write(f"Sample:{sample['sample'].value}"+"\n")
f.write(f"Field:{sample['field'].value}"+"\n")
f.write(f"Device:{sample['device'].value}"+"\n")
f.write(f"Device Width(µm):{sample['width'].value}"+"\n\n")
f.write(f"Device Width(um):{sample['width'].value}"+"\n\n")
f.write('Parameters\n')
f.write(f"VGS from {Vgs['start'].value}V to {Vgs['stop'].value}V with step {Vgs['step'].value}V"+"\n")
......@@ -243,7 +243,7 @@ def save_to_file(measurement,file,df,sample,integration,Vgs,Vds=None):
f.write(df.to_string())
#normalization factor to is for both normalizations 10**6/width mA/mm = µA/µm = 10**(-6)A/µm (returned from the tool)
#normalization factor to is for both normalizations 10**6/width mA/mm = uA/um = 10**(-6)A/um (returned from the tool)
def normalization_factor(width):
factor = 10**6/width
return factor
......
......@@ -99,7 +99,7 @@ def information_box_new():
for i in range(3):
for j in range(2):
if i ==2 and j == 1:
information_grid[i,j]=widgets.Dropdown(options=['mA/mm','µA/µm'],value='mA/mm',layout=Layout(height=height, width=width))#mind the gap
information_grid[i,j]=widgets.Dropdown(options=['mA/mm','uA/um'],value='mA/mm',layout=Layout(height=height, width=width))#mind the gap
elif i == 2 and j == 0:
information_grid[i,j]=widgets.BoundedFloatText(
value=100,
......@@ -112,7 +112,7 @@ def information_box_new():
information_grid[0,0].description = "Processing-Nr:"
information_grid[1,0].description = "Sample:"
information_grid[2,0].description = "Device Width(µm):"
information_grid[2,0].description = "Device Width(um):"
information_grid[0,1].description = "Field(XYY):"
information_grid[1,1].description = "Device:"
information_grid[2,1].description = "Normalization:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment