Improve jupyter notebook and fix wrong heading

This commit is contained in:
Mario Hüttel 2020-01-28 23:39:16 +01:00
parent 92fabc0555
commit 0e66004bbf

View File

@ -75,22 +75,6 @@
" return temp" " return temp"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Description of ADC Value"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(constant_sampling['adc_results.pa2_raw'].describe())"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
@ -124,7 +108,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Histograms -- Starting from Index 100 (Uncalibrated)" "# Histograms (Uncalibrated)"
] ]
}, },
{ {
@ -155,7 +139,8 @@
" #Plot textbox\n", " #Plot textbox\n",
" textstr = '\\n'.join((\n", " textstr = '\\n'.join((\n",
" r'$\\mu=%.2f$' % (mu, ),\n", " r'$\\mu=%.2f$' % (mu, ),\n",
" r'$\\sigma=%.2f$' % (sigma, )))\n", " r'$\\sigma=%.2f$' % (sigma, ),\n",
" r'$N_{Sa} =%d$' % (len(data_df[sig[0]][start_idx:], ))))\n",
" props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)\n", " props = dict(boxstyle='round', facecolor='wheat', alpha=0.5)\n",
" ax.text(0.05, 0.95, textstr, transform=ax.transAxes, fontsize=14,\n", " ax.text(0.05, 0.95, textstr, transform=ax.transAxes, fontsize=14,\n",
" verticalalignment='top', bbox=props)\n", " verticalalignment='top', bbox=props)\n",