Skip to content

Commit f9b7771

Browse files
author
cint-transport
committed
test(driver Stanford830): added print(buffer_points) to the end of the test notebook
1 parent bcc599e commit f9b7771

File tree

2 files changed

+33
-24
lines changed

2 files changed

+33
-24
lines changed

drivers_test_notebooks/srs830_test_notebook.ipynb

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
"\u001b[92m Property implementation tests passed, instrument: Stanford830 looks ready to go. \u001b[0m\n",
123123
"Checking driver doc string.\n",
124124
"\u001b[92m Docstring tests passed and looking good. \u001b[0m\n",
125-
"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",
125+
"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",
126126
"\u001b[1;32m Stanford830 test results logged. \u001b[0m\n"
127127
]
128128
}
@@ -223,9 +223,9 @@
223223
"name": "stdout",
224224
"output_type": "stream",
225225
"text": [
226-
"-8.9169e-05 -7.15259e-07\n",
227-
"0.000385525 -2.3842e-07\n",
228-
"-2.3842e-07 0.0\n"
226+
"-8.9169e-05 -9.53682e-07\n",
227+
"0.000385286 -7.15259e-07\n",
228+
"-4.76841e-07 -2.3842e-07\n"
229229
]
230230
}
231231
],
@@ -271,10 +271,10 @@
271271
"name": "stdout",
272272
"output_type": "stream",
273273
"text": [
274-
"0.000666667\n",
275-
"0.001\n",
276-
"-0.002\n",
277-
"0.00233333\n"
274+
"0.002\n",
275+
"0.00233333\n",
276+
"0.00166667\n",
277+
"0.00133333\n"
278278
]
279279
}
280280
],
@@ -296,10 +296,10 @@
296296
"name": "stdout",
297297
"output_type": "stream",
298298
"text": [
299-
"-8.9169e-05\n",
299+
"-8.86922e-05\n",
300300
"0.000385048\n",
301301
"-2.3842e-07\n",
302-
"5901.928641229441\n"
302+
"5899.178441489818\n"
303303
]
304304
}
305305
],
@@ -321,8 +321,8 @@
321321
"name": "stdout",
322322
"output_type": "stream",
323323
"text": [
324-
"-8.9169e-05\n",
325-
"0.000385048\n"
324+
"-8.86922e-05\n",
325+
"0.000385286\n"
326326
]
327327
}
328328
],
@@ -342,16 +342,16 @@
342342
"name": "stdout",
343343
"output_type": "stream",
344344
"text": [
345-
"[-8.9169e-05, 0.000385048]\n",
346-
"[-8.94074e-05, -4.76841e-07]\n",
347-
"[-8.9169e-05, 5902.9599661318]\n",
348-
"[-8.9169e-05, 0.00166667]\n",
349-
"[-8.94074e-05, 0.004]\n",
350-
"[-8.9169e-05, -0.000333333]\n",
345+
"[-8.86922e-05, 0.000385286]\n",
346+
"[-8.9169e-05, -2.3842e-07]\n",
347+
"[-8.89306e-05, 5900.55354135963]\n",
348+
"[-8.89306e-05, 0.000666667]\n",
351349
"[-8.9169e-05, 0.00233333]\n",
352-
"[-8.94074e-05, 1000.0]\n",
353-
"[-8.9169e-05, -8.9169e-05]\n",
354-
"[-8.94074e-05, 0.000384809]\n"
350+
"[-8.89306e-05, -0.0156667]\n",
351+
"[-8.9169e-05, 0.00133333]\n",
352+
"[-8.89306e-05, 1000.0]\n",
353+
"[-8.89306e-05, -8.89306e-05]\n",
354+
"[-8.9169e-05, 0.000385286]\n"
355355
]
356356
}
357357
],
@@ -395,7 +395,15 @@
395395
"cell_type": "code",
396396
"execution_count": 12,
397397
"metadata": {},
398-
"outputs": [],
398+
"outputs": [
399+
{
400+
"name": "stdout",
401+
"output_type": "stream",
402+
"text": [
403+
"159\n"
404+
]
405+
}
406+
],
399407
"source": [
400408
"# test buffer_points\n",
401409
"\n",
@@ -407,7 +415,8 @@
407415
"srs830.trigger()\n",
408416
"sleep(20)\n",
409417
"srs830.buffer_points\n",
410-
"srs830.pause()\n"
418+
"srs830.pause()\n",
419+
"print(srs830.buffer_points)"
411420
]
412421
}
413422
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-02 10:40:42
1+
Passed with stanford830 version v1.0.3 tested on pyscan version v0.8.0 at 2024-10-03 08:29:18

0 commit comments

Comments
 (0)