From e853f6696573a48d6b315b77e47c568a274f6af9 Mon Sep 17 00:00:00 2001
From: unknown <asoalexandros@gmail.com>
Date: Thu, 10 Apr 2025 10:35:54 +0200
Subject: [PATCH] stress and sampling migrated to the new class

---
 hp4155/stress+sampling/lib/measurements.py    |  6 ++---
 .../stress_and_sampling_interface.ipynb       | 22 +++++++++----------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/hp4155/stress+sampling/lib/measurements.py b/hp4155/stress+sampling/lib/measurements.py
index a0a8f72..d5f4c90 100644
--- a/hp4155/stress+sampling/lib/measurements.py
+++ b/hp4155/stress+sampling/lib/measurements.py
@@ -49,7 +49,7 @@ def sampling(VDS,VGS,VDS_comp,VGS_comp,sampling_mode,number_of_points,integratio
         "comp": VGS_comp
     }
 
-     smu4 = {
+    smu4 = {
         "vname": "VS2",
         "iname": "IS2",
         "mode": "COMM",
@@ -116,7 +116,7 @@ def stress(VDS,VGS,duration,comp,device):
     }
 
     smu2 = {
-        "mode":"COMM",
+        "mode":"V",
         "func":"SYNC",
         "name": "VD",
         "value": VDS,
@@ -124,7 +124,7 @@ def stress(VDS,VGS,duration,comp,device):
     }
 
     smu3 = {
-        "mode":"COMM",
+        "mode":"V",
         "func":"SYNC",
         "name": "VG",
         "value": VGS,
diff --git a/hp4155/stress+sampling/stress_and_sampling_interface.ipynb b/hp4155/stress+sampling/stress_and_sampling_interface.ipynb
index 8a1fa30..7d09295 100644
--- a/hp4155/stress+sampling/stress_and_sampling_interface.ipynb
+++ b/hp4155/stress+sampling/stress_and_sampling_interface.ipynb
@@ -9,7 +9,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "6725c8b499a5492a95d57ed8b4b767a6",
+       "model_id": "246a1aff5be84d2aa077463be62f8c3a",
        "version_major": 2,
        "version_minor": 0
       },
@@ -23,7 +23,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "eceae2032cf8464d96e05f6b266bfca5",
+       "model_id": "c974df2400804975b61791c264c69072",
        "version_major": 2,
        "version_minor": 0
       },
@@ -44,7 +44,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "0a3fafebf4bb46a8aeceb823bf27e5ad",
+       "model_id": "cf2195bf6fcb42bf9fcfcd4bfaa3e7ba",
        "version_major": 2,
        "version_minor": 0
       },
@@ -65,7 +65,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "857b94c79ce44f4a9db36ddef9b1da31",
+       "model_id": "4d47da4857b444d48991d665f1aa4f4a",
        "version_major": 2,
        "version_minor": 0
       },
@@ -86,7 +86,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "e16d3304c83441e5a528ae8dea9f4ec3",
+       "model_id": "fa18c3df14364a26b1f6643aa04c936d",
        "version_major": 2,
        "version_minor": 0
       },
@@ -100,7 +100,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "2d273668c95e4a81858abb98ae5511d0",
+       "model_id": "c6d8806163794dce9ab3b51ad593a8cc",
        "version_major": 2,
        "version_minor": 0
       },
@@ -121,7 +121,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "d5c96c4e481048279d1bf2866af6818b",
+       "model_id": "008d047401aa49818fba5bf0ca8e7c3f",
        "version_major": 2,
        "version_minor": 0
       },
@@ -135,7 +135,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "514c65809f4047a3bfa81e245c1b065c",
+       "model_id": "a0d81931597d407aaca8a8c165a633fc",
        "version_major": 2,
        "version_minor": 0
       },
@@ -156,7 +156,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "7b038a13f62e4fdda232e234aa41ef00",
+       "model_id": "3766b5decb594831848ca3666842b119",
        "version_major": 2,
        "version_minor": 0
       },
@@ -170,7 +170,7 @@
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "90f1f7798a6f41d09c30f7fdbe652132",
+       "model_id": "8c7668752968422a96bd418486cfac0d",
        "version_major": 2,
        "version_minor": 0
       },
@@ -189,7 +189,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "8efd86e2-a306-4aeb-b648-0a87b9257d54",
+   "id": "1413ae56-29ca-49ef-a5a3-cc54d67a320d",
    "metadata": {},
    "outputs": [],
    "source": []
-- 
GitLab