summaryrefslogtreecommitdiff
path: root/ma/safety_reset.tex
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-04-02 15:38:08 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-04-02 15:38:08 +0200
commit9168801dad97805c4ff12816e847d102b0a9d5e0 (patch)
tree962a8a433c30be40cf75795bf72a438f06854288 /ma/safety_reset.tex
parente104e5d2dc232731cc72404d4caa85a2ee11d412 (diff)
downloadmaster-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.tar.gz
master-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.tar.bz2
master-thesis-9168801dad97805c4ff12816e847d102b0a9d5e0.zip
thesis: Fix notebook include headers
Diffstat (limited to 'ma/safety_reset.tex')
-rw-r--r--ma/safety_reset.tex17
1 files changed, 12 insertions, 5 deletions
diff --git a/ma/safety_reset.tex b/ma/safety_reset.tex
index 868c6e3..485d131 100644
--- a/ma/safety_reset.tex
+++ b/ma/safety_reset.tex
@@ -60,6 +60,15 @@
\usepackage{fancyhdr}
\fancyhf{}
\fancyfoot[C]{\thepage}
+\newcommand{\includenotebook}[2]{
+ \fancyhead[C]{Included Jupyter notebook: #1}
+ \includepdf[pages=1,
+ pagecommand={\thispagestyle{fancy}\section{#1}\label{#2_notebook}}
+ ]{resources/#2.pdf}
+ \includepdf[pages=2-,
+ pagecommand={\thispagestyle{fancy}}
+ ]{resources/#2.pdf}
+}
\begin{document}
@@ -995,7 +1004,7 @@ interface and its good tolerance of system resets due to unexpected power loss.
Captured raw waveform data is processed in the Jupyter Lab environment\cite{kluyver01} and grid frequency estimates are
extracted as described in sec. \ref{frequency_estimation} using the \textcite{gasior01} technique. Appendix
-\ref{grid_freq_est_notebook} contains the Jupyter notebook we used for frequency measurement.
+\ref{grid_freq_estimation_notebook} contains the Jupyter notebook we used for frequency measurement.
% FIXME comparison against reference measurements?
@@ -1096,10 +1105,8 @@ correctly configure than it is to simply use separate hardware and secure the in
\chapter{Transcripts of Jupyter notebooks used in this thesis}
-\section{Grid frequency estimation}
-\label{grid_freq_est_notebook}
-\fancyhead[C]{Included Jupyter notebook: Grid frequency estimation}
-\includepdf[pages=-, pagecommand=\thispagestyle{fancy}]{resources/grid_freq_estimation.pdf}
+\includenotebook{Grid frequency estimation}{grid_freq_estimation}
+\includenotebook{Frequency sensor clock stability analysis}{gps_clock_jitter_analysis}
\chapter{Demonstrator schematics and code}