data for lab session 2

main
Gerardo Marx 3 months ago
commit b3564c4d0d

@ -0,0 +1,49 @@
# Readme
This data file (`dataLab.csv`)has been collected using the TCLab board. The data was generated by using:
```python
import time
import tclab
import numpy as np
n=600
t = np.linspace(0,n-1,n)
T1 = np.empty_like(t)
with tclab.TCLab() as lab:
lab.Q1(68)
for i in range(n):
T1[i] = lab.T1
print(T1[i])
time.sleep(1)
```
Then, temperature measurements are stored with
```python
import pandas as pd
DF = pd.DataFrame(T1)
DF.to_csv("dataLab.csv", index=False)
```
## How to use the data
To use temperature measurements, you have to load data using:
```python
import pandas as pd
df = pd.read_csv('dataLab.csv')
y = df['0']
```
If you data is plotted, it should look like the next figure:
```python
import matplotlib.pyplot as plt
plt.plot(y, '.r')
```
![plot](./plot.png)

@ -0,0 +1,601 @@
0
24.476
24.476
24.54
24.443
24.604
24.701
24.733
24.766
24.766
24.766
25.088
25.088
25.088
25.41
25.41
25.732
25.732
26.022
26.055
26.377
26.377
26.699
26.731
27.021
27.344
27.344
27.666
27.924
27.988
28.311
28.633
28.633
28.955
29.277
29.471
29.6
29.922
30.244
30.47
30.566
30.889
31.211
31.275
31.533
31.855
32.178
32.5
32.5
32.822
33.145
33.306
33.467
33.789
34.111
34.401
34.434
34.756
35.078
35.336
35.4
35.723
36.045
36.238
36.367
36.689
37.012
37.205
37.334
37.656
37.688
37.979
38.301
38.591
38.623
38.945
39.235
39.268
39.59
39.912
39.912
40.234
40.557
40.653
40.879
41.201
41.33
41.523
41.846
41.878
42.168
42.49
42.49
42.813
42.909
43.135
43.457
43.65
43.779
44.102
44.102
44.424
44.649
44.746
45.068
45.068
45.391
45.552
45.713
46.035
46.035
46.357
46.357
46.68
47.002
47.002
47.324
47.324
47.646
47.646
47.969
47.969
48.291
48.291
48.613
48.613
48.936
48.936
49.258
49.258
49.58
49.58
49.902
49.935
50.225
50.225
50.547
50.547
50.869
50.869
51.159
51.191
51.449
51.514
51.643
51.836
51.836
52.158
52.158
52.48
52.48
52.674
52.803
53.028
53.125
53.125
53.447
53.447
53.737
53.77
53.802
54.092
54.092
54.414
54.414
54.543
54.736
54.736
55.059
55.059
55.059
55.381
55.381
55.606
55.703
55.8
56.025
56.025
56.154
56.348
56.348
56.638
56.67
56.67
56.992
56.992
56.992
57.314
57.314
57.314
57.637
57.637
57.637
57.927
57.959
57.959
58.281
58.281
58.281
58.571
58.604
58.604
58.894
58.926
58.926
59.216
59.248
59.248
59.248
59.538
59.57
59.57
59.699
59.893
59.893
59.925
60.215
60.215
60.215
60.376
60.537
60.537
60.537
60.795
60.859
60.859
60.859
61.182
61.182
61.182
61.311
61.504
61.504
61.504
61.729
61.762
61.826
61.826
61.826
62.148
62.148
62.148
62.148
62.406
62.471
62.471
62.471
62.632
62.793
62.793
62.793
62.793
62.986
63.083
63.115
63.115
63.147
63.438
63.438
63.438
63.438
63.438
63.631
63.728
63.76
63.76
63.76
63.792
64.082
64.082
64.082
64.082
64.082
64.275
64.404
64.404
64.404
64.404
64.501
64.727
64.727
64.727
64.727
64.823
65.049
65.049
65.049
65.049
65.049
65.113
65.274
65.371
65.371
65.371
65.371
65.693
65.693
65.693
65.693
65.693
65.726
66.016
66.016
66.016
66.016
66.016
66.016
66.048
66.241
66.338
66.338
66.338
66.338
66.338
66.338
66.37
66.628
66.467
66.66
66.66
66.66
66.66
66.66
66.66
66.789
66.886
66.982
66.982
66.982
67.111
67.208
67.24
67.305
67.305
67.305
67.305
67.337
67.595
67.627
67.627
67.627
67.627
67.627
67.885
67.917
67.949
67.949
67.949
67.949
67.949
67.981
68.014
68.239
68.271
68.271
68.271
68.304
68.465
68.529
68.594
68.594
68.594
68.594
68.594
68.594
68.594
68.594
68.626
68.916
68.884
68.916
68.916
68.916
68.916
68.916
68.916
68.98
68.948
69.013
69.238
69.238
69.238
69.238
69.238
69.238
69.303
69.238
69.561
69.561
69.561
69.561
69.561
69.561
69.561
69.689
69.883
69.883
69.883
69.883
69.883
69.883
69.883
69.883
69.883
69.979
70.076
70.205
70.205
70.205
70.205
70.205
70.205
70.205
70.205
70.205
70.205
70.27
70.205
70.398
70.495
70.302
70.527
70.495
70.527
70.527
70.527
70.527
70.527
70.527
70.656
70.785
70.688
70.85
70.85
70.85
70.85
70.85
70.85
70.85
70.85
70.882
70.85
71.011
71.172
71.172
71.172
71.172
71.172
71.172
71.301
71.301
71.333
71.494
71.494
71.43
71.494
71.494
71.494
71.494
71.494
71.494
71.494
71.494
71.494
71.494
71.784
71.72
71.816
71.816
71.816
71.816
71.816
71.816
71.816
71.816
71.816
71.816
71.849
71.913
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.139
72.171
72.429
72.396
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.461
72.493
72.461
72.719
72.461
72.558
72.654
72.719
72.783
72.783
72.783
72.783
72.783
72.719
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.783
72.88
73.073
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.105
73.138
73.105
73.331
73.202
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.428
73.653
73.46
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
73.75
1 0
2 24.476
3 24.476
4 24.54
5 24.443
6 24.604
7 24.701
8 24.733
9 24.766
10 24.766
11 24.766
12 25.088
13 25.088
14 25.088
15 25.41
16 25.41
17 25.732
18 25.732
19 26.022
20 26.055
21 26.377
22 26.377
23 26.699
24 26.731
25 27.021
26 27.344
27 27.344
28 27.666
29 27.924
30 27.988
31 28.311
32 28.633
33 28.633
34 28.955
35 29.277
36 29.471
37 29.6
38 29.922
39 30.244
40 30.47
41 30.566
42 30.889
43 31.211
44 31.275
45 31.533
46 31.855
47 32.178
48 32.5
49 32.5
50 32.822
51 33.145
52 33.306
53 33.467
54 33.789
55 34.111
56 34.401
57 34.434
58 34.756
59 35.078
60 35.336
61 35.4
62 35.723
63 36.045
64 36.238
65 36.367
66 36.689
67 37.012
68 37.205
69 37.334
70 37.656
71 37.688
72 37.979
73 38.301
74 38.591
75 38.623
76 38.945
77 39.235
78 39.268
79 39.59
80 39.912
81 39.912
82 40.234
83 40.557
84 40.653
85 40.879
86 41.201
87 41.33
88 41.523
89 41.846
90 41.878
91 42.168
92 42.49
93 42.49
94 42.813
95 42.909
96 43.135
97 43.457
98 43.65
99 43.779
100 44.102
101 44.102
102 44.424
103 44.649
104 44.746
105 45.068
106 45.068
107 45.391
108 45.552
109 45.713
110 46.035
111 46.035
112 46.357
113 46.357
114 46.68
115 47.002
116 47.002
117 47.324
118 47.324
119 47.646
120 47.646
121 47.969
122 47.969
123 48.291
124 48.291
125 48.613
126 48.613
127 48.936
128 48.936
129 49.258
130 49.258
131 49.58
132 49.58
133 49.902
134 49.935
135 50.225
136 50.225
137 50.547
138 50.547
139 50.869
140 50.869
141 51.159
142 51.191
143 51.449
144 51.514
145 51.643
146 51.836
147 51.836
148 52.158
149 52.158
150 52.48
151 52.48
152 52.674
153 52.803
154 53.028
155 53.125
156 53.125
157 53.447
158 53.447
159 53.737
160 53.77
161 53.802
162 54.092
163 54.092
164 54.414
165 54.414
166 54.543
167 54.736
168 54.736
169 55.059
170 55.059
171 55.059
172 55.381
173 55.381
174 55.606
175 55.703
176 55.8
177 56.025
178 56.025
179 56.154
180 56.348
181 56.348
182 56.638
183 56.67
184 56.67
185 56.992
186 56.992
187 56.992
188 57.314
189 57.314
190 57.314
191 57.637
192 57.637
193 57.637
194 57.927
195 57.959
196 57.959
197 58.281
198 58.281
199 58.281
200 58.571
201 58.604
202 58.604
203 58.894
204 58.926
205 58.926
206 59.216
207 59.248
208 59.248
209 59.248
210 59.538
211 59.57
212 59.57
213 59.699
214 59.893
215 59.893
216 59.925
217 60.215
218 60.215
219 60.215
220 60.376
221 60.537
222 60.537
223 60.537
224 60.795
225 60.859
226 60.859
227 60.859
228 61.182
229 61.182
230 61.182
231 61.311
232 61.504
233 61.504
234 61.504
235 61.729
236 61.762
237 61.826
238 61.826
239 61.826
240 62.148
241 62.148
242 62.148
243 62.148
244 62.406
245 62.471
246 62.471
247 62.471
248 62.632
249 62.793
250 62.793
251 62.793
252 62.793
253 62.986
254 63.083
255 63.115
256 63.115
257 63.147
258 63.438
259 63.438
260 63.438
261 63.438
262 63.438
263 63.631
264 63.728
265 63.76
266 63.76
267 63.76
268 63.792
269 64.082
270 64.082
271 64.082
272 64.082
273 64.082
274 64.275
275 64.404
276 64.404
277 64.404
278 64.404
279 64.501
280 64.727
281 64.727
282 64.727
283 64.727
284 64.823
285 65.049
286 65.049
287 65.049
288 65.049
289 65.049
290 65.113
291 65.274
292 65.371
293 65.371
294 65.371
295 65.371
296 65.693
297 65.693
298 65.693
299 65.693
300 65.693
301 65.726
302 66.016
303 66.016
304 66.016
305 66.016
306 66.016
307 66.016
308 66.048
309 66.241
310 66.338
311 66.338
312 66.338
313 66.338
314 66.338
315 66.338
316 66.37
317 66.628
318 66.467
319 66.66
320 66.66
321 66.66
322 66.66
323 66.66
324 66.66
325 66.789
326 66.886
327 66.982
328 66.982
329 66.982
330 67.111
331 67.208
332 67.24
333 67.305
334 67.305
335 67.305
336 67.305
337 67.337
338 67.595
339 67.627
340 67.627
341 67.627
342 67.627
343 67.627
344 67.885
345 67.917
346 67.949
347 67.949
348 67.949
349 67.949
350 67.949
351 67.981
352 68.014
353 68.239
354 68.271
355 68.271
356 68.271
357 68.304
358 68.465
359 68.529
360 68.594
361 68.594
362 68.594
363 68.594
364 68.594
365 68.594
366 68.594
367 68.594
368 68.626
369 68.916
370 68.884
371 68.916
372 68.916
373 68.916
374 68.916
375 68.916
376 68.916
377 68.98
378 68.948
379 69.013
380 69.238
381 69.238
382 69.238
383 69.238
384 69.238
385 69.238
386 69.303
387 69.238
388 69.561
389 69.561
390 69.561
391 69.561
392 69.561
393 69.561
394 69.561
395 69.689
396 69.883
397 69.883
398 69.883
399 69.883
400 69.883
401 69.883
402 69.883
403 69.883
404 69.883
405 69.979
406 70.076
407 70.205
408 70.205
409 70.205
410 70.205
411 70.205
412 70.205
413 70.205
414 70.205
415 70.205
416 70.205
417 70.27
418 70.205
419 70.398
420 70.495
421 70.302
422 70.527
423 70.495
424 70.527
425 70.527
426 70.527
427 70.527
428 70.527
429 70.527
430 70.656
431 70.785
432 70.688
433 70.85
434 70.85
435 70.85
436 70.85
437 70.85
438 70.85
439 70.85
440 70.85
441 70.882
442 70.85
443 71.011
444 71.172
445 71.172
446 71.172
447 71.172
448 71.172
449 71.172
450 71.301
451 71.301
452 71.333
453 71.494
454 71.494
455 71.43
456 71.494
457 71.494
458 71.494
459 71.494
460 71.494
461 71.494
462 71.494
463 71.494
464 71.494
465 71.494
466 71.784
467 71.72
468 71.816
469 71.816
470 71.816
471 71.816
472 71.816
473 71.816
474 71.816
475 71.816
476 71.816
477 71.816
478 71.849
479 71.913
480 72.139
481 72.139
482 72.139
483 72.139
484 72.139
485 72.139
486 72.139
487 72.139
488 72.139
489 72.139
490 72.139
491 72.139
492 72.139
493 72.171
494 72.429
495 72.396
496 72.461
497 72.461
498 72.461
499 72.461
500 72.461
501 72.461
502 72.461
503 72.461
504 72.461
505 72.461
506 72.461
507 72.461
508 72.461
509 72.461
510 72.461
511 72.461
512 72.493
513 72.461
514 72.719
515 72.461
516 72.558
517 72.654
518 72.719
519 72.783
520 72.783
521 72.783
522 72.783
523 72.783
524 72.719
525 72.783
526 72.783
527 72.783
528 72.783
529 72.783
530 72.783
531 72.783
532 72.783
533 72.783
534 72.783
535 72.783
536 72.783
537 72.783
538 72.783
539 72.783
540 72.783
541 72.783
542 72.783
543 72.783
544 72.783
545 72.783
546 72.783
547 72.88
548 73.073
549 73.105
550 73.105
551 73.105
552 73.105
553 73.105
554 73.105
555 73.105
556 73.105
557 73.105
558 73.105
559 73.105
560 73.105
561 73.138
562 73.105
563 73.331
564 73.202
565 73.428
566 73.428
567 73.428
568 73.428
569 73.428
570 73.428
571 73.428
572 73.428
573 73.428
574 73.428
575 73.428
576 73.428
577 73.428
578 73.428
579 73.428
580 73.428
581 73.428
582 73.428
583 73.428
584 73.428
585 73.428
586 73.428
587 73.653
588 73.46
589 73.75
590 73.75
591 73.75
592 73.75
593 73.75
594 73.75
595 73.75
596 73.75
597 73.75
598 73.75
599 73.75
600 73.75
601 73.75

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save