Add measurement data for drift analysis

This commit is contained in:
Mario Hüttel 2020-02-08 19:17:33 +01:00
parent a6fa35b1ea
commit c32bb559f3
3 changed files with 24996 additions and 4 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -346,7 +346,12 @@
"# Read in data\n", "# Read in data\n",
"kilo_ohm_sampling1 = pd.read_csv(r'1000OhmSamplingFixedStableCircuit.csv')\n", "kilo_ohm_sampling1 = pd.read_csv(r'1000OhmSamplingFixedStableCircuit.csv')\n",
"kilo_ohm_sampling1_ht = pd.read_csv(r'1000OhmSamplingFixedStableCircuitHT.csv')\n", "kilo_ohm_sampling1_ht = pd.read_csv(r'1000OhmSamplingFixedStableCircuitHT.csv')\n",
"plot_data_tuples = [(kilo_ohm_sampling1, 'Day 1 Sampling -- Stable circuit -- RT'), (kilo_ohm_sampling1_ht, 'Day 1 Sampling -- Stable circuit -- HT')]\n" "kilo_ohm_sampling2 = pd.read_csv(r'1000OhmSamplingFixedStableCircuitDay2.csv')\n",
"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",
" ]\n"
] ]
}, },
{ {
@ -368,8 +373,8 @@
" calculate_temp_for_df(df, resistance_col_name='pt1000_value')\n", " calculate_temp_for_df(df, resistance_col_name='pt1000_value')\n",
"\n", "\n",
"for (df,title),ax in zip(plot_data_tuples, axes):\n", "for (df,title),ax in zip(plot_data_tuples, axes):\n",
" plot_histogram(ax[0], df['pt1000_value'], 5, title, 'PT1000 Resistance')\n", " plot_histogram(ax[0], df['pt1000_value'], 21, title, 'PT1000 Resistance')\n",
" plot_histogram(ax[1], df['temp_calculated'], 5, title, 'Calculated Temperature in °C')\n", " plot_histogram(ax[1], df['temp_calculated'], 21, title, 'Calculated Temperature in °C')\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.show()" "plt.show()"
@ -381,7 +386,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"calc_temp(1100)" "calc_temp(1000.)-calc_temp(1000.4)"
] ]
} }
], ],