From 0e66004bbf709da54eaa12cb3dba60c5d1674f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Tue, 28 Jan 2020 23:39:16 +0100 Subject: [PATCH] Improve jupyter notebook and fix wrong heading --- .../Analog Measurement Analysis.ipynb | 21 +++---------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/measurement-data/Analog Measurement Analysis.ipynb b/measurement-data/Analog Measurement Analysis.ipynb index 8e3bf52..6a8d8cd 100644 --- a/measurement-data/Analog Measurement Analysis.ipynb +++ b/measurement-data/Analog Measurement Analysis.ipynb @@ -75,22 +75,6 @@ " 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", "metadata": {}, @@ -124,7 +108,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Histograms -- Starting from Index 100 (Uncalibrated)" + "# Histograms (Uncalibrated)" ] }, { @@ -155,7 +139,8 @@ " #Plot textbox\n", " textstr = '\\n'.join((\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", " ax.text(0.05, 0.95, textstr, transform=ax.transAxes, fontsize=14,\n", " verticalalignment='top', bbox=props)\n",