Skip to content

Commit

Permalink
test(driver Stanford830): added print(buffer_points) to the end of th…
Browse files Browse the repository at this point in the history
…e test notebook
  • Loading branch information
cint-transport committed Oct 3, 2024
1 parent bcc599e commit f9b7771
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 24 deletions.
55 changes: 32 additions & 23 deletions drivers_test_notebooks/srs830_test_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"\u001b[92m Property implementation tests passed, instrument: Stanford830 looks ready to go. \u001b[0m\n",
"Checking driver doc string.\n",
"\u001b[92m Docstring tests passed and looking good. \u001b[0m\n",
"The new test log for this driver is: Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-02 10:40:42\n",
"The new test log for this driver is: Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-03 08:29:18\n",
"\u001b[1;32m Stanford830 test results logged. \u001b[0m\n"
]
}
Expand Down Expand Up @@ -223,9 +223,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-8.9169e-05 -7.15259e-07\n",
"0.000385525 -2.3842e-07\n",
"-2.3842e-07 0.0\n"
"-8.9169e-05 -9.53682e-07\n",
"0.000385286 -7.15259e-07\n",
"-4.76841e-07 -2.3842e-07\n"
]
}
],
Expand Down Expand Up @@ -271,10 +271,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
"0.000666667\n",
"0.001\n",
"-0.002\n",
"0.00233333\n"
"0.002\n",
"0.00233333\n",
"0.00166667\n",
"0.00133333\n"
]
}
],
Expand All @@ -296,10 +296,10 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-8.9169e-05\n",
"-8.86922e-05\n",
"0.000385048\n",
"-2.3842e-07\n",
"5901.928641229441\n"
"5899.178441489818\n"
]
}
],
Expand All @@ -321,8 +321,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"-8.9169e-05\n",
"0.000385048\n"
"-8.86922e-05\n",
"0.000385286\n"
]
}
],
Expand All @@ -342,16 +342,16 @@
"name": "stdout",
"output_type": "stream",
"text": [
"[-8.9169e-05, 0.000385048]\n",
"[-8.94074e-05, -4.76841e-07]\n",
"[-8.9169e-05, 5902.9599661318]\n",
"[-8.9169e-05, 0.00166667]\n",
"[-8.94074e-05, 0.004]\n",
"[-8.9169e-05, -0.000333333]\n",
"[-8.86922e-05, 0.000385286]\n",
"[-8.9169e-05, -2.3842e-07]\n",
"[-8.89306e-05, 5900.55354135963]\n",
"[-8.89306e-05, 0.000666667]\n",
"[-8.9169e-05, 0.00233333]\n",
"[-8.94074e-05, 1000.0]\n",
"[-8.9169e-05, -8.9169e-05]\n",
"[-8.94074e-05, 0.000384809]\n"
"[-8.89306e-05, -0.0156667]\n",
"[-8.9169e-05, 0.00133333]\n",
"[-8.89306e-05, 1000.0]\n",
"[-8.89306e-05, -8.89306e-05]\n",
"[-8.9169e-05, 0.000385286]\n"
]
}
],
Expand Down Expand Up @@ -395,7 +395,15 @@
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"159\n"
]
}
],
"source": [
"# test buffer_points\n",
"\n",
Expand All @@ -407,7 +415,8 @@
"srs830.trigger()\n",
"sleep(20)\n",
"srs830.buffer_points\n",
"srs830.pause()\n"
"srs830.pause()\n",
"print(srs830.buffer_points)"
]
}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-02 10:40:42
Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-03 08:29:18

0 comments on commit f9b7771

Please sign in to comment.