Skip to content

Commit

Permalink
Show effect on non-sweeping gate
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsecher committed Sep 8, 2022
1 parent 06dde8f commit 584d1d7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/examples/QDevil/QDAC2/VirtualGates2dScan.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,15 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 8,
"id": "4a3233e6",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]\n",
"[-0.2 0. 0.2 0.4 0.6 -0.2 0. 0.2 0.4 0.6 -0.2 0. 0.2 0.4\n",
" 0.6 -0.2 0. 0.2 0.4 0.6]\n",
"[-0.7 -0.7 -0.7 -0.7 -0.7 -0.41666667\n",
Expand All @@ -179,13 +180,14 @@
}
],
"source": [
"print(sweep.actual_values_V('sensor1'))\n",
"print(sweep.actual_values_V('plunger2'))\n",
"print(sweep.actual_values_V('plunger3'))"
]
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 9,
"id": "516c8c6d",
"metadata": {},
"outputs": [],
Expand All @@ -208,7 +210,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 10,
"id": "8f0473f9",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -244,14 +246,18 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 11,
"id": "d3e1ee6c",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[0.045 0.065 0.085 0.105 0.125 0.05916667\n",
" 0.07916667 0.09916667 0.11916667 0.13916667 0.07333333 0.09333333\n",
" 0.11333333 0.13333333 0.15333333 0.0875 0.1075 0.1275\n",
" 0.1475 0.1675 ]\n",
"[-0.426 -0.23 -0.034 0.162 0.358 -0.341 -0.145 0.051 0.247 0.443\n",
" -0.256 -0.06 0.136 0.332 0.528 -0.171 0.025 0.221 0.417 0.613]\n",
"[-0.781 -0.699 -0.617 -0.535 -0.453 -0.49766667\n",
Expand All @@ -262,6 +268,7 @@
}
],
"source": [
"print(sweep.actual_values_V('sensor1'))\n",
"print(sweep.actual_values_V('plunger2'))\n",
"print(sweep.actual_values_V('plunger3'))"
]
Expand Down

0 comments on commit 584d1d7

Please sign in to comment.