Skip to content

Commit bcc599e

Browse files
author
cint-transport
committed
did i forget the notebook?
1 parent be9b137 commit bcc599e

File tree

1 file changed

+63
-33
lines changed

1 file changed

+63
-33
lines changed

drivers_test_notebooks/srs830_test_notebook.ipynb

Lines changed: 63 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,45 @@
8585
" ('_sensitivity', 0.005),\n",
8686
" ('_time_constant', 1)]\n",
8787
"\n",
88-
"Beginning tests for: Stanford830 version 1.0.2\n",
88+
"Beginning tests for: Stanford830 version 1.0.3\n",
8989
"_id_settings\n",
9090
"_phase_settings\n",
9191
"_reference_source_settings\n",
9292
"_frequency_settings\n",
9393
"_reference_slope_settings\n",
9494
"_harmonic_settings\n",
9595
"_input_ground_settings\n",
96-
"_input_coupling_settings\n"
96+
"_input_coupling_settings\n",
97+
"_input_line_filter_settings\n",
98+
"_reserve_mode_settings\n",
99+
"_filter_slope_settings\n",
100+
"_synchronous_filter_settings\n",
101+
"_display1_output_source_settings\n",
102+
"_display2_output_source_settings\n",
103+
"_auxiliary_voltage1_settings\n",
104+
"_auxiliary_voltage2_settings\n",
105+
"_auxiliary_voltage3_settings\n",
106+
"_auxiliary_voltage4_settings\n",
107+
"_sample_rate_settings\n",
108+
"_end_buffer_mode_settings\n",
109+
"_trigger_mode_settings\n",
110+
"_buffer_points_settings\n",
111+
"\n",
112+
"7 range properties found and tested out of 26 total settings found.\n",
113+
"0 values properties found and tested out of 26 total settings found.\n",
114+
"11 indexed values properties found and tested out of 26 total settings found.\n",
115+
"2 dict values properties found and tested out of 26 total settings found.\n",
116+
"4 blacklisted settings not testing (likely due to interdependencies not suitable for automated testing)\n",
117+
"20 properties tested out of 26 total settings.\n",
118+
"\n",
119+
"Restored settings are different for the following: {('id', 'Stanford_Research_Systems,SR830,s/n86813,ver1.07 '), ('buffer_points', 159)}\n",
120+
"\n",
121+
"\n",
122+
"\u001b[92m Property implementation tests passed, instrument: Stanford830 looks ready to go. \u001b[0m\n",
123+
"Checking driver doc string.\n",
124+
"\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",
126+
"\u001b[1;32m Stanford830 test results logged. \u001b[0m\n"
97127
]
98128
}
99129
],
@@ -104,7 +134,7 @@
104134
},
105135
{
106136
"cell_type": "code",
107-
"execution_count": null,
137+
"execution_count": 4,
108138
"metadata": {
109139
"metadata": {}
110140
},
@@ -160,7 +190,7 @@
160190
},
161191
{
162192
"cell_type": "code",
163-
"execution_count": null,
193+
"execution_count": 5,
164194
"metadata": {
165195
"metadata": {}
166196
},
@@ -186,16 +216,16 @@
186216
},
187217
{
188218
"cell_type": "code",
189-
"execution_count": null,
219+
"execution_count": 6,
190220
"metadata": {},
191221
"outputs": [
192222
{
193223
"name": "stdout",
194224
"output_type": "stream",
195225
"text": [
196-
"-8.94074e-05 -4.76841e-07\n",
197-
"0.000385048 2.3842e-07\n",
198-
"-0.00506476 -9.53682e-07\n"
226+
"-8.9169e-05 -7.15259e-07\n",
227+
"0.000385525 -2.3842e-07\n",
228+
"-2.3842e-07 0.0\n"
199229
]
200230
}
201231
],
@@ -234,17 +264,17 @@
234264
},
235265
{
236266
"cell_type": "code",
237-
"execution_count": null,
267+
"execution_count": 7,
238268
"metadata": {},
239269
"outputs": [
240270
{
241271
"name": "stdout",
242272
"output_type": "stream",
243273
"text": [
244274
"0.000666667\n",
245-
"-0.000666667\n",
246-
"0.00566667\n",
247-
"0.000666667\n"
275+
"0.001\n",
276+
"-0.002\n",
277+
"0.00233333\n"
248278
]
249279
}
250280
],
@@ -259,17 +289,17 @@
259289
},
260290
{
261291
"cell_type": "code",
262-
"execution_count": null,
292+
"execution_count": 8,
263293
"metadata": {},
264294
"outputs": [
265295
{
266296
"name": "stdout",
267297
"output_type": "stream",
268298
"text": [
269-
"-8.98843e-05\n",
270-
"0.000384809\n",
271-
"-7.15259e-07\n",
272-
"5908.116590643592\n"
299+
"-8.9169e-05\n",
300+
"0.000385048\n",
301+
"-2.3842e-07\n",
302+
"5901.928641229441\n"
273303
]
274304
}
275305
],
@@ -284,15 +314,15 @@
284314
},
285315
{
286316
"cell_type": "code",
287-
"execution_count": null,
317+
"execution_count": 9,
288318
"metadata": {},
289319
"outputs": [
290320
{
291321
"name": "stdout",
292322
"output_type": "stream",
293323
"text": [
294-
"-8.98843e-05\n",
295-
"0.000384809\n"
324+
"-8.9169e-05\n",
325+
"0.000385048\n"
296326
]
297327
}
298328
],
@@ -305,23 +335,23 @@
305335
},
306336
{
307337
"cell_type": "code",
308-
"execution_count": null,
338+
"execution_count": 10,
309339
"metadata": {},
310340
"outputs": [
311341
{
312342
"name": "stdout",
313343
"output_type": "stream",
314344
"text": [
315-
"[-8.98843e-05, 0.000385048]\n",
316-
"[-8.98843e-05, -9.53682e-07]\n",
317-
"[-8.98843e-05, 5909.491690513403]\n",
318-
"[-8.98843e-05, 0.000666667]\n",
319-
"[-8.98843e-05, -0.000666667]\n",
320-
"[-8.98843e-05, 0.00166667]\n",
321-
"[-8.96459e-05, -0.01]\n",
322-
"[-8.98843e-05, 1000.0]\n",
323-
"[-8.98843e-05, -8.98843e-05]\n",
324-
"[-8.98843e-05, 0.000384809]\n"
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",
351+
"[-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"
325355
]
326356
}
327357
],
@@ -342,7 +372,7 @@
342372
},
343373
{
344374
"cell_type": "code",
345-
"execution_count": null,
375+
"execution_count": 11,
346376
"metadata": {},
347377
"outputs": [
348378
{
@@ -363,7 +393,7 @@
363393
},
364394
{
365395
"cell_type": "code",
366-
"execution_count": null,
396+
"execution_count": 12,
367397
"metadata": {},
368398
"outputs": [],
369399
"source": [

0 commit comments

Comments
 (0)