summaryrefslogtreecommitdiff
path: root/ma/safety_reset.tex
diff options
context:
space:
mode:
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}