Kernel: Python 2 (SageMath)
In [5]:
AnalyzeFourPointCond
Notebook for analyzing four-point conductance measurements. This notebook only plots the temperature versus time.
Import and set up the notebook.
In [0]:
In [6]:
Get Data File
In [15]:
0, readArduino-201804171428.csv
1, test.csv
2, readArduino-201804191455.csv
3, readArduino-201804121033-Original.csv
4, readArduino-201804121033-Fixed.csv
Enter data file number:
# readArduino.py
# Tue Apr 17 14:28:30 2018
# wired R
Read Data
In [16]:
There are 284396 lines in the file
There are 16729 data points
Last temperature is 23.33
The last I data are [ 0. 0.34 0.69 1.03 1.37 1.72 2.06 2.41 2.75 3.09 3.44 3.78
4.12 4.47 4.5 4.49]
The last V data are [-0.53 -0.52 -0.47 -0.41 -0.33 -0.25 -0.16 -0.15 -0.11 -0.04 0.06 0.07
0.13 0.22 0.25 0.29]
The last temperature is 23.33 C
The last resistance is 178.63 +/- 5.45 Ohms
In [17]:
[ 24.72 24.77 24.82 ..., 23.45 23.35 23.33]
[ 0. 0.34 0.69 1.03 1.37 1.72 2.06 2.41 2.75 3.09 3.44 3.78
4.12 4.47 4.5 4.49]
[ 147.38432267 126.63847799 311.07174009 ..., 460.58220163 298.52035081
178.63479229]
In [0]:
Plotting Data Nicely
The cool down happens very fast so the thremistor is cooling much faster than the resistor. So I want to separate the data into two batches, the cool down data, then the data we care about when the temperature slowly went back up.
First I will plot the temperature versus time data. Then work on an algorithm to find when the temperature starts up.
In [18]:
0 43 102
<matplotlib.text.Text at 0x7f593a4f3a10>
In [19]:
[ 147.38432267 126.63847799 311.07174009 ..., 460.58220163 298.52035081
178.63479229]
In [20]:
<matplotlib.legend.Legend at 0x7f593aa6e950>
In [7]:
3090
3081
In [0]: