Add new measurement data
This commit is contained in:
parent
827f5c2066
commit
07793fb490
13473
measurement-data/1000OhmSamplingFixedStableCircuitDay4.csv
Normal file
13473
measurement-data/1000OhmSamplingFixedStableCircuitDay4.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -98,7 +98,7 @@
|
||||
" #Plot textbox\n",
|
||||
" textstr = '\\n'.join((\n",
|
||||
" r'$\\mu=%.2f$' % (mu, ),\n",
|
||||
" r'$\\sigma=%.3f$' % (sigma, ),\n",
|
||||
" r'$\\sigma=%.4f$' % (sigma, ),\n",
|
||||
" r'$N_{Sa} =%d$' % (len(data), )))\n",
|
||||
" props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)\n",
|
||||
" ax.text(0.05, 0.95, textstr, transform=ax.transAxes, fontsize=14,\n",
|
||||
@ -350,7 +350,8 @@
|
||||
"plot_data_tuples = [(kilo_ohm_sampling1, 'Day 1 Sampling -- Stable circuit -- RT'),\n",
|
||||
" (kilo_ohm_sampling1_ht, 'Day 1 Sampling -- Stable circuit -- HT'),\n",
|
||||
" (kilo_ohm_sampling2, 'Day 2 Sampling -- Stable circuit'),\n",
|
||||
" (pd.read_csv(r'1000OhmSamplingFixedStableCircuitDay3.csv'), 'Day 3 Sampling -- Stable Circuit (improved)')\n",
|
||||
" (pd.read_csv(r'1000OhmSamplingFixedStableCircuitDay3.csv'), 'Day 3 Sampling -- Stable Circuit (improved)'),\n",
|
||||
" (pd.read_csv(r'1000OhmSamplingFixedStableCircuitDay4.csv'), 'Day 4 Sampling -- Stable Circuit (improved)')\n",
|
||||
" ]\n"
|
||||
]
|
||||
},
|
||||
@ -375,6 +376,8 @@
|
||||
"for (df,title),ax in zip(plot_data_tuples, axes):\n",
|
||||
" plot_histogram(ax[0], df['pt1000_value'], 21, title, 'PT1000 Resistance')\n",
|
||||
" plot_histogram(ax[1], df['temp_calculated'], 21, title, 'Calculated Temperature in °C')\n",
|
||||
" ax[0].grid()\n",
|
||||
" ax[1].grid()\n",
|
||||
"\n",
|
||||
"plt.tight_layout()\n",
|
||||
"plt.show()"
|
||||
@ -386,7 +389,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"calc_temp(1000.)-calc_temp(1000.4)"
|
||||
"print(calc_temp(1000.6)-calc_temp(1000.4))\n",
|
||||
"print(1/4096*2500)"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user